Variant.Equals

From Xojo Documentation

Method

Variant.Equals(v as Variant) As Boolean

Supported for all project types and targets.

Returns True if the variant has the same value as the Variant passed as a parameter. If the variants are not of the same type a common type is computed & the value is compared for equality.