diff options
Diffstat (limited to 'includes/external/school/node_modules/graphql/polyfills/find.mjs')
-rw-r--r-- | includes/external/school/node_modules/graphql/polyfills/find.mjs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/includes/external/school/node_modules/graphql/polyfills/find.mjs b/includes/external/school/node_modules/graphql/polyfills/find.mjs deleted file mode 100644 index ed3e6f3..0000000 --- a/includes/external/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; |