summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/jsutils/identityFunc.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/jsutils/identityFunc.js')
-rw-r--r--school/node_modules/graphql/jsutils/identityFunc.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/school/node_modules/graphql/jsutils/identityFunc.js b/school/node_modules/graphql/jsutils/identityFunc.js
new file mode 100644
index 0000000..630772f
--- /dev/null
+++ b/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;
+}