UNPKG

146 BTypeScriptView Raw
1declare function IsPromise<T>(x: PromiseLike<T>): x is Promise<T>;
2declare function IsPromise(x: unknown): x is Promise<any>;
3export = IsPromise;