Skip to content
A

array

function array<I, P>(opts): ArrayProducer<Produced<I>[], P> & object;

Defined in: src/core/producer.ts:324

A repeated subtree. each selects item nodes; item produces one value. The item producer’s type is carried in the phantom _item (see object).

Type ParameterDefault type
I extends Producer<unknown, Presence>-
P extends Presence"optional"
ParameterType
optsobject & BaseMeta

ArrayProducer<Produced<I>[], P> & object