bigint-crypto-utils/node_modules/rxjs/internal/util/isPromise.js

7 lines
272 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isPromise(value) {
return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
}
exports.isPromise = isPromise;
//# sourceMappingURL=isPromise.js.map