Value.Equals Method

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

public override bool Equals(object obj)

Remarks

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:

Parameters

Parameter Description
Object obj The other Value to compare against.

Return Type

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

Source

Defined in YarnSpinner/Value.cs, line 352.