UnityEngine.NUnit.Framework.Constraints.OrConstraint.Matches C# (CSharp) Method

Matches() public method

Apply the member constraints to an actual value, succeeding succeeding as soon as one of them succeeds.
public Matches ( object actual ) : bool
actual object The actual value
return bool
        public override bool Matches(object actual)
        {
            this.actual = actual;
            return left.Matches(actual) || right.Matches(actual);
        }