Checks if the input matches the schema. By using a type predicate, this function can be used as a type guard.
The schema to be used.
The input to be tested.
Whether the input matches the schema.
Checks if the input matches the schema. By using a type predicate, this function can be used as a type guard.