2021-12-07 13:18:08 -05:00

2 lines
96 B
TypeScript

export declare function isPromise<T>(maybePromise: T | Promise<T>): maybePromise is Promise<T>;