aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/cjs/internal/util/isPromise.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/cjs/internal/util/isPromise.js')
-rw-r--r--node_modules/rxjs/dist/cjs/internal/util/isPromise.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/cjs/internal/util/isPromise.js b/node_modules/rxjs/dist/cjs/internal/util/isPromise.js
new file mode 100644
index 0000000..fae4d1e
--- /dev/null
+++ b/node_modules/rxjs/dist/cjs/internal/util/isPromise.js
@@ -0,0 +1,9 @@
+"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 \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage