summaryrefslogtreecommitdiff
path: root/includes/external/school/node_modules/graphql/jsutils/identityFunc.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/school/node_modules/graphql/jsutils/identityFunc.mjs')
-rw-r--r--includes/external/school/node_modules/graphql/jsutils/identityFunc.mjs6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/graphql/jsutils/identityFunc.mjs b/includes/external/school/node_modules/graphql/jsutils/identityFunc.mjs
new file mode 100644
index 0000000..daf2391
--- /dev/null
+++ b/includes/external/school/node_modules/graphql/jsutils/identityFunc.mjs
@@ -0,0 +1,6 @@
+/**
+ * Returns the first argument it receives.
+ */
+export default function identityFunc(x) {
+ return x;
+}