Alphabetical
Compares operand
(a String
) to
test
(a String
) 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
before/after/etc. the test string, alphabetically. Otherwise returns an
Error
.
- IsAfterAlphabetically
= (datatype = "String") => operand => test => (arg => Either<Error, String>)
- IsBeforeAlphabetically
= (datatype = "String") => operand => test => (arg => Either<Error, String>)
- IsNotAfterAlphabetically
= (datatype = "String") => operand => test => (arg => Either<Error, String>)
- IsNotBeforeAlphabetically
= (datatype = "String") => operand => test => (arg => Either<Error, String>)