equals

equals(obj)

Returns a value indicating whether this instance is equal to a specified value.

ParameterDescription
obj“obj”>An value to compare to this instance.

Returns: true if obj has the same value as this instance; otherwise, false .