Table of Contents

Class GreaterThan

Namespace
Albatross.Expression.Infix
Assembly
Albatross.Expression.dll

Infix GreaterThan operation.

Operand Count: 2

Operands

  1. Operand1 : any
  2. Operand2 : any

Output Type: Boolean

Usage: 3 > 2

Precedance: 50

public class GreaterThan : ComparisonInfixOperation, IInfixExpression, IExpression, IToken, IHasPrecedence
Inheritance
GreaterThan
Implements
Inherited Members
Extension Methods

Constructors

GreaterThan()

public GreaterThan()

Methods

Interpret(int)

Interprets the result of the comparison operation.

public override bool Interpret(int comparisonResult)

Parameters

comparisonResult int

The result from the comparison (-1, 0, or 1).

Returns

bool

True if the comparison satisfies the operation's condition; otherwise, false.