is-promise.d.ts 96 B

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