Recursively validates an object against a nested schema.
The expected structure.
The object to validate.
Expects a function to conform to specified input and output types.
The function to type-check.
The expected types for the function's parameters and return value.
A new function that type-checks its arguments and return value.
Checks if the provided parameter is an array of a specified type.
The type of elements that the array should contain.
The parameter to check.
Checks if the provided parameter is a valid email address.
The parameter to check.
Checks if the provided parameter is a number within a specified range.
The minimum value.
The maximum value.
The parameter to check.
Register a new type in the typesMap.
The name of the new type.
The function to validate the type.
Whether to override the original configuration
Validates an object against a schema.
The expected types for each key.
The object to validate.
Class representing a type checker. Version: 2.4.1
Author
Michael Lavigna
Since
2.4.1