summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/jsutils/isPromise.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/jsutils/isPromise.js')
-rw-r--r--school/node_modules/graphql/jsutils/isPromise.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/school/node_modules/graphql/jsutils/isPromise.js b/school/node_modules/graphql/jsutils/isPromise.js
deleted file mode 100644
index bca6ccc..0000000
--- a/school/node_modules/graphql/jsutils/isPromise.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = isPromise;
-
-/**
- * Returns true if the value acts like a Promise, i.e. has a "then" function,
- * otherwise returns false.
- */
-// eslint-disable-next-line no-redeclare
-function isPromise(value) {
- return typeof (value === null || value === void 0 ? void 0 : value.then) === 'function';
-}