Applies a predefined schema to a given FieldPath.
API
function apply<TValue>( path: SchemaPath<TValue>, schema: NoInfer<SchemaOrSchemaFn<TValue>>,): void;Jump to details
Applies a predefined schema to a given FieldPath.
function apply<TValue>( path: SchemaPath<TValue>, schema: NoInfer<SchemaOrSchemaFn<TValue>>,): void;