Amount
Compares operand
to test
(a
Number
or Integer
) and returns a function that
takes an optional arg
and uses it as the operand or injects a argument
from some other source (e.g., HTML element, query string, session storage).
When called, the returned function returns the operand if it is
>/</===/etc. the test value, otherwise returns an
Error
.
- IsEqualTo
= (datatype = "Number") => operand => test => (arg => Either<Error, Number | Integer>)
- IsLessThan
= (datatype = "Number") => operand => test => (arg => Either<Error, Number | Integer>)
- IsMoreThan
= (datatype = "Number") => operand => test => (arg => Either<Error, Number | Integer>)
- IsNoLessThan
= (datatype = "Number") => operand => test => (arg => Either<Error, Number | Integer>)
- IsNoMoreThan
= (datatype = "Number") => operand => test => (arg => Either<Error, Number | Integer>)
- IsUnequalTo
= (datatype = "Number") => operand => test => (arg => Either<Error, Number | Integer>)