Skip to content

Type Alias: SchemaFunction ​

SchemaFunction = (schema) => Schema

A function receiving a schema and returning a schema derived from it, like (schema) => schema.required() (used by fork()).

Parameters ​

schema ​

Schema

Returns ​

Schema

Released under the MIT License.