Algorand TypeScript
    Preparing search index...

    Type Alias NumericComparison<T>

    NumericComparison:
        | T
        | { lessThan: T }
        | { greaterThan: T }
        | { greaterThanEq: T }
        | { lessThanEq: T }
        | { between: [T, T] }

    Defines possible comparison expressions for numeric types

    Type Parameters

    • T

    Type declaration

    • T
    • { lessThan: T }
      • lessThan: T

        Is the subject less than the specified value

    • { greaterThan: T }
      • greaterThan: T

        Is the subject greater than the specified value

    • { greaterThanEq: T }
      • greaterThanEq: T

        Is the subject greater than or equal to the specified value

    • { lessThanEq: T }
      • lessThanEq: T

        Is the subject less than or equal to the specified value

    • { between: [T, T] }
      • between: [T, T]

        Is the subject between the specified values (inclusive)