is-promise.d.ts 96 B

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