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