backend v4 half
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user