Value.Equals Method

Compares to see if this Value is the same as another.

public override bool Equals(object obj)


obj is converted to the same type as this value, using AsNumber, AsString, and AsBool.

If this value is null, this method returns true if any of the following are true:


Parameter Description
Object obj The other Value to compare against.

Return Type

bool: true if the objects represent the same value, false otherwise.


Defined in YarnSpinner/Value.cs, line 352.