summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/polyfills/find.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/polyfills/find.mjs')
-rw-r--r--school/node_modules/graphql/polyfills/find.mjs14
1 files changed, 0 insertions, 14 deletions
diff --git a/school/node_modules/graphql/polyfills/find.mjs b/school/node_modules/graphql/polyfills/find.mjs
deleted file mode 100644
index ed3e6f3..0000000
--- a/school/node_modules/graphql/polyfills/find.mjs
+++ /dev/null
@@ -1,14 +0,0 @@
-/* eslint-disable no-redeclare */
-// $FlowFixMe[name-already-bound]
-var find = Array.prototype.find ? function (list, predicate) {
- return Array.prototype.find.call(list, predicate);
-} : function (list, predicate) {
- for (var _i2 = 0; _i2 < list.length; _i2++) {
- var value = list[_i2];
-
- if (predicate(value)) {
- return value;
- }
- }
-};
-export default find;