9 lines
341 B
JavaScript
9 lines
341 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
exports.isPromise = void 0;
|
||
|
var isFunction_1 = require("./isFunction");
|
||
|
function isPromise(value) {
|
||
|
return isFunction_1.isFunction(value === null || value === void 0 ? void 0 : value.then);
|
||
|
}
|
||
|
exports.isPromise = isPromise;
|
||
|
//# sourceMappingURL=isPromise.js.map
|