$array
Callable
Type parameters
Parameters
items: ConstExpr<E>
The items on this array.
options: SchemaOptions<ArrayOptions, E[infer][]> = {}
Additional options to pass to the array.
Returns ArrayType<E>
The items on this array.
Additional options to pass to the array.
Create a new
ArrayType
instance with the given options.Example