createSchemaFunction
Create a schema function from schema definition.
Schema functions receive SchemaPathTree which includes both the base SchemaPath and nested child access properties. The validator/logic/schema application functions accept SchemaPath | SchemaPathTree, so we can pass the path directly.
Presentation
function createSchemaFunction (
schema: SchemaDefinition ,
): SchemaOrSchemaFn<unknown>;Returns
SchemaOrSchemaFn<unknown>Parameters
| Name | Type | Description |
|---|---|---|
| schema | |