array<T, Input = unknown>(itemSchema: Schema<T, unknown>): ArraySchema<T, Input>
itemSchema: Schema<T, unknown>
ArraySchema
import * as x from 'unhoax'const schema = x.array(x.string)const result = schema.parse(['a', 'b']) Copy
import * as x from 'unhoax'const schema = x.array(x.string)const result = schema.parse(['a', 'b'])
See
ArraySchema
Example