Share via


FunctionChoice.Equality(FunctionChoice, FunctionChoice) Operator

Definition

Returns a value indicating whether two FunctionChoice instances are equivalent, as determined by a case-insensitive comparison of their labels.

public static bool operator == (Microsoft.SemanticKernel.FunctionChoice left, Microsoft.SemanticKernel.FunctionChoice right);
static member ( = ) : Microsoft.SemanticKernel.FunctionChoice * Microsoft.SemanticKernel.FunctionChoice -> bool
Public Shared Operator == (left As FunctionChoice, right As FunctionChoice) As Boolean

Parameters

left
FunctionChoice

the first FunctionChoice instance to compare

right
FunctionChoice

the second FunctionChoice instance to compare

Returns

true if left and right are both null or have equivalent labels; false otherwise

Applies to