KindDef
A kind of value, like string or number.
Definition
KindDefisEmpty(input: unknown) => boolean: true when the input means no valuerequired(message: string) => AnyAction | null: optional, an extra check for required fields, after the normalize rules
Explanation
Register kinds of your own with createSchemaBuilder's kinds option. A field type names its kind, so rules for that kind fit it.