Skip to content

ArrayType

ArrayType = string | number | boolean | object

Defined in: packages/core/src/fields/array/types.ts:11

Union of all types allowed as array item values.

Supports the four JSON-compatible scalar types plus nested objects. Nested arrays are created by passing array({ items: array({ items: ... }) }).