Class Equal
- Namespace
- Albatross.Expression.Infix
- Assembly
- Albatross.Expression.dll
Represents the equality comparison operator that checks if two values are equal.
public class Equal : ComparisonInfixOperation, IInfixExpression, IExpression, IToken, IHasPrecedence
- Inheritance
-
Equal
- Implements
- Inherited Members
- Extension Methods
Constructors
Equal()
Initializes a new instance of the Equal class.
public Equal()
Methods
Interpret(int)
Interprets the result of the comparison operation.
public override bool Interpret(int comparisonResult)
Parameters
comparisonResultintThe result from the comparison (-1, 0, or 1).
Returns
- bool
True if the comparison satisfies the operation's condition; otherwise, false.