Validate an input and throws an error on failure
The validated type
The validator to use
The raw input
assert(isNumber, null) >> throws: "Not a number: null" Copy
assert(isNumber, null) >> throws: "Not a number: null"
Validate an input and throws an error on failure