UNPKG

surrogate

Version:

Object method hooks made easy

8 lines (7 loc) 474 B
export declare const isNull: (value: unknown) => value is null; export declare const isBool: (value: unknown) => value is boolean; export declare const isFunction: (value: unknown) => value is Function; export declare const isUndefined: (value: unknown) => value is undefined; export declare const isObject: (value: unknown) => value is object; export declare const isAsync: (func: any) => boolean; export declare const isPromiseLike: (value: any) => value is Promise<any>;