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