UNPKG

typia

Version:

Superfast runtime validators with only one line

8 lines (7 loc) 631 B
export declare const boolean: (input: string | File | null) => boolean | null | undefined; export declare const number: (input: string | File | null) => number | null | undefined; export declare const bigint: (input: string | File | null) => bigint | null | undefined; export declare const string: (input: string | File | null) => string | null | undefined; export declare const array: (input: any[], alternative: null | undefined) => any[] | null | undefined; export declare const blob: (input: string | Blob | null) => Blob | null | undefined; export declare const file: (input: string | File | null) => File | null | undefined;