This is the keys of the object with specified values for validation.
Object type name for error context purposes.
Rest
...object: anyThe given object type, an array of or only a single object, to be validated.
throws a Zod Error if validations are broken.
This function validates the given object by the given constraints, and returns an error that uses the given context if needed.