ConstValidates an array and each of its items.
Validates a boolean value.
Validates one of the provided string literal values.
Validates a literal value.
Makes another validator nullable.
Validates a number value.
Validates an object against a schema shape.
Makes another validator optional.
Runs a validator and throws SchemaValidationError on failure.
Adds a custom predicate to an existing validator.
Runs a validator and returns a result object instead of throwing.
Validates a string value.
Validates a value against either of two validators.
Generic validation primitives that work on plain runtime values.