Validates the state of an unknown value or a value that does not have a specialized validator.
The returned validator throws an error immediately if a validation fails.
the value
the name of the value
a validator for the value
Validates the state of an array.
The returned validator throws an error immediately if a validation fails.
the type of the value
the type of elements in the collection
the value
the name of the value
a validator for the value
Validates the state of a boolean
.
The returned validator throws an error immediately if a validation fails.
the value
the name of the value
a validator for the value
Validates the state of a Map
.
The returned validator throws an error immediately if a validation fails.
the value
the name of the value
a validator for the value
Validates the state of a number
.
The returned validator throws an error immediately if a validation fails.
the value
the name of the value
a validator for the value
Validates the state of a Set
.
The returned validator throws an error immediately if a validation fails.
the value
the name of the value
a validator for the value
Validates the state of a string
.
The returned validator throws an error immediately if a validation fails.
the value
the name of the value
a validator for the value
Creates validators for the Javascript API that throw errors immediately on validation failure.