Creates a validator that asserts that the input is an array.
Creates a validator that asserts that the input is an array and every element passes the given validator.
Creates a validator that asserts that the input is a boolean.
Creates a validator that asserts that the input is a function.
Validates that the input is an instanceof the given prototype.
Creates a validator that asserts that the input is nullish or one of the given possible values.
Rest...possibleValues: UCreates a validator that asserts that the input is a number.
Creates a validator that validates the input has properties that pass their respective validators.
Returns a validator that asserts that the object's own enumerable properties has keys and values that match their respective validators.
Prototype members are not included.
Numeric keys are validated as strings. For example the object { [0]: 1 } will be passed
to the key validator as '0'.
To assume string keys, use recordValues
Returns a validator that asserts that the input object's own enumerable properties has string keys and values that match the given validator.
Prototype members are not included.
Creates a validator that asserts that the input is type 'string'.
Creates a validator that asserts that the input is type 'symbol'.
Creates a validator that asserts that the input array is a tuple whose elements match the given validators.
Validator state starting points. These are validators that take an 'unknown' input.
See docs/VALIDATORS.md