Type Alias: SchemaLike<T>
SchemaLike<
T> =SchemaLikeWithoutArray<T> |object
What the schema methods accept in place of a schema: a schema, a literal value (allowed as the only valid value), an object of schemas by key (an object schema) or an array of them (alternatives).
Type Parameters
T
T = any