8 lines
285 B
JavaScript
8 lines
285 B
JavaScript
"use strict";
|
|
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
|