1 | // https://github.com/TylorS/typed-is-promise/blob/abf1514e1b6961adfc75765476b0debb96b2c3ae/src/index.ts
|
2 | export function isPromise(p) {
|
3 | return p !== null && typeof p === 'object' && typeof p.then === 'function';
|
4 | }
|
5 | //# sourceMappingURL=is-promise.util.js.map |
\ | No newline at end of file |