Skip to content

array() ​

ts
function array<T>(parseItem): Parser<T[]>

Validate arrays

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterTypeDescription
parseItemParser<T>

Returns ​

Parser<T[]>

a function that parses arrays