You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
390 B

"use strict";
// https://github.com/TylorS/typed-is-promise/blob/abf1514e1b6961adfc75765476b0debb96b2c3ae/src/index.ts
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPromise = void 0;
function isPromise(p) {
return p !== null && typeof p === 'object' && typeof p.then === 'function';
}
exports.isPromise = isPromise;
//# sourceMappingURL=is-promise.util.js.map