PrimitiveTreeA tree of primitive values used to serialize annotations to JSON.
Tree
Source effect/SchemaRepresentation.ts:7481 lines
export type type PrimitiveTree =
| string
| number
| bigint
| boolean
| symbol
| Schema.TreeRecord<
| string
| number
| bigint
| boolean
| symbol
| null
>
| readonly Schema.Tree<
| string
| number
| bigint
| boolean
| symbol
| null
>[]
| null
A tree of primitive values used to serialize annotations to JSON.
PrimitiveTree = import SchemaSchema.type Tree<Node> =
| Node
| Schema.TreeRecord<Node>
| readonly Schema.Tree<Node>[]
Creates a recursive schema for a
Tree
of values described by node.
The resulting schema accepts a single node value, an array of trees, or an
object whose values are trees.
Recursive tree type whose leaves are Node values and whose branches are
readonly arrays or string-keyed records of child trees.
Tree<null | number | boolean | bigint | symbol | string>Referenced by 1 symbols