Upsilon-VsCode/Client/node_modules/vscode-languageclient/lib/utils/is.d.ts

10 lines
601 B
TypeScript
Raw Normal View History

2019-02-17 17:07:28 +00:00
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>;