AuthorRole.Equality(AuthorRole, AuthorRole) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value indicating whether two AuthorRole instances are equivalent, as determined by a case-insensitive comparison of their labels.
public static bool operator == (Microsoft.SemanticKernel.ChatCompletion.AuthorRole left, Microsoft.SemanticKernel.ChatCompletion.AuthorRole right);
static member ( = ) : Microsoft.SemanticKernel.ChatCompletion.AuthorRole * Microsoft.SemanticKernel.ChatCompletion.AuthorRole -> bool
Public Shared Operator == (left As AuthorRole, right As AuthorRole) As Boolean
Parameters
- left
- AuthorRole
the first AuthorRole instance to compare
- right
- AuthorRole
the second AuthorRole instance to compare
Returns
true if left and right are both null or have equivalent labels; false otherwise