NumericComparison
Algorand TypeScript / index / <internal> / NumericComparison
NumericComparison<
T> =T| {lessThan:T; } | {greaterThan:T; } | {greaterThanEq:T; } | {lessThanEq:T; } | {between: readonly [T,T]; } | {not:T; }
Defined in: util.ts:34
Defines possible comparison expressions for numeric types
Type Parameters
Section titled “Type Parameters”T
Type declaration
Section titled “Type declaration”T
{ lessThan: T; }
lessThan
Section titled “lessThan”lessThan:
T
Is the subject less than the specified value
{ greaterThan: T; }
greaterThan
Section titled “greaterThan”greaterThan:
T
Is the subject greater than the specified value
{ greaterThanEq: T; }
greaterThanEq
Section titled “greaterThanEq”greaterThanEq:
T
Is the subject greater than or equal to the specified value
{ lessThanEq: T; }
lessThanEq
Section titled “lessThanEq”lessThanEq:
T
Is the subject less than or equal to the specified value
{ between: readonly [T, T]; }
between
Section titled “between”between: readonly [
T,T]
Is the subject between the specified values (inclusive)
{ not: T; }
not:
T
Is the subject not equal to the specified value