summaryrefslogtreecommitdiff
path: root/includes/external/school/node_modules/graphql/jsutils/identityFunc.js
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/school/node_modules/graphql/jsutils/identityFunc.js')
-rw-r--r--includes/external/school/node_modules/graphql/jsutils/identityFunc.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/graphql/jsutils/identityFunc.js b/includes/external/school/node_modules/graphql/jsutils/identityFunc.js
new file mode 100644
index 0000000..630772f
--- /dev/null
+++ b/includes/external/school/node_modules/graphql/jsutils/identityFunc.js
@@ -0,0 +1,13 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = identityFunc;
+
+/**
+ * Returns the first argument it receives.
+ */
+function identityFunc(x) {
+ return x;
+}