UNPKG

390 BJavaScriptView Raw
1"use strict";
2// https://github.com/TylorS/typed-is-promise/blob/abf1514e1b6961adfc75765476b0debb96b2c3ae/src/index.ts
3Object.defineProperty(exports, "__esModule", { value: true });
4exports.isPromise = void 0;
5function isPromise(p) {
6 return p !== null && typeof p === 'object' && typeof p.then === 'function';
7}
8exports.isPromise = isPromise;
9//# sourceMappingURL=is-promise.util.js.map
\No newline at end of file