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