Returns a logical value based on the equality check over the two given values.
compareras function, optional
xas nullable any, optional
yas nullable any) as logical
logicalvalue based on the equality check over the two given values,
y, using the provided
Comparerwhich is used to control the comparison. Comparers can be used to provide case insensitive or culture and locale aware comparisons. The following built in comparers are available in the formula language:
Compare "1" and "A" using "en-US" locale to determine if the values are equal.
Comparer.Equals(Comparer.FromCulture("en-us"), "1", "A")