10 lines
601 B
TypeScript
10 lines
601 B
TypeScript
|
export declare function boolean(value: any): value is boolean;
|
||
|
export declare function string(value: any): value is string;
|
||
|
export declare function number(value: any): value is number;
|
||
|
export declare function error(value: any): value is Error;
|
||
|
export declare function func(value: any): value is Function;
|
||
|
export declare function array<T>(value: any): value is T[];
|
||
|
export declare function stringArray(value: any): value is string[];
|
||
|
export declare function typedArray<T>(value: any, check: (value: any) => boolean): value is T[];
|
||
|
export declare function thenable<T>(value: any): value is Thenable<T>;
|