UNPKG

runtyp

Version:

Lightning-fast, zero-dependency runtime validation for TS/JS. 25x faster than zod with a cleaner API.

10 lines (9 loc) 199 B
import { Pred } from '..'; type Opts = { len?: { min?: number; max?: number; }; }; export declare function array<T>(predicate: Pred<T>, options?: Opts): Pred<T[]>; export {};