summaryrefslogtreecommitdiff
path: root/school/node_modules/@arr/every
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-23 19:34:56 +0100
committerMinteck <contact@minteck.org>2023-02-23 19:34:56 +0100
commit3d1cd02f27518f1a04374c7c8320cd5d82ede6e9 (patch)
tree75be5fba4368472fb11c8015aee026b2b9a71888 /school/node_modules/@arr/every
parent8cc1f13c17fa2fb5a4410542d39e650e02945634 (diff)
downloadpluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.gz
pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.bz2
pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.zip
Updated 40 files, added 37 files, deleted 1103 files and renamed 3905 files (automated)
Diffstat (limited to 'school/node_modules/@arr/every')
-rw-r--r--school/node_modules/@arr/every/index.js11
-rw-r--r--school/node_modules/@arr/every/module.d.ts1
-rw-r--r--school/node_modules/@arr/every/module.js11
-rw-r--r--school/node_modules/@arr/every/package.json30
-rw-r--r--school/node_modules/@arr/every/readme.md45
5 files changed, 0 insertions, 98 deletions
diff --git a/school/node_modules/@arr/every/index.js b/school/node_modules/@arr/every/index.js
deleted file mode 100644
index 170cc49..0000000
--- a/school/node_modules/@arr/every/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-module.exports = function (arr, cb) {
- var i=0, len=arr.length;
-
- for (; i < len; i++) {
- if (!cb(arr[i], i, arr)) {
- return false;
- }
- }
-
- return true;
-}
diff --git a/school/node_modules/@arr/every/module.d.ts b/school/node_modules/@arr/every/module.d.ts
deleted file mode 100644
index f2935dc..0000000
--- a/school/node_modules/@arr/every/module.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export default function<T>(arr: T[], callback: (val: T, idx: number, arr: T[]) => unknown): boolean;
diff --git a/school/node_modules/@arr/every/module.js b/school/node_modules/@arr/every/module.js
deleted file mode 100644
index 18a4208..0000000
--- a/school/node_modules/@arr/every/module.js
+++ /dev/null
@@ -1,11 +0,0 @@
-export default function (arr, cb) {
- var i=0, len=arr.length;
-
- for (; i < len; i++) {
- if (!cb(arr[i], i, arr)) {
- return false;
- }
- }
-
- return true;
-}
diff --git a/school/node_modules/@arr/every/package.json b/school/node_modules/@arr/every/package.json
deleted file mode 100644
index b82e2cc..0000000
--- a/school/node_modules/@arr/every/package.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "name": "@arr/every",
- "version": "1.0.1",
- "repository": "lukeed/arr",
- "description": "A tiny, faster alternative to native Array.prototype.every",
- "types": "module.d.ts",
- "module": "module.js",
- "main": "index.js",
- "license": "MIT",
- "author": {
- "name": "Luke Edwards",
- "email": "luke.edwards05@gmail.com",
- "url": "https://lukeed.com"
- },
- "engines": {
- "node": ">=4"
- },
- "keywords": [
- "arr",
- "array",
- "Array.every",
- "Array.prototype.every",
- "performance",
- "native",
- "every"
- ],
- "publishConfig": {
- "access": "public"
- }
-}
diff --git a/school/node_modules/@arr/every/readme.md b/school/node_modules/@arr/every/readme.md
deleted file mode 100644
index 31cad87..0000000
--- a/school/node_modules/@arr/every/readme.md
+++ /dev/null
@@ -1,45 +0,0 @@
-# @arr/every
-
-> A tiny, faster alternative to native `Array.prototype.every`
-
-:warning: Unlike native, `@arr/every` does _not_ support the optional `thisArg` parameter!
-
-## Install
-
-```
-$ npm install --save @arr/every
-```
-
-## Usage
-
-```js
-import every from '@arr/every';
-
-const isBigEnough = val => val >= 10;
-
-every([12, 5, 8, 130, 44], isBigEnough);
-//=> false
-every([12, 54, 18, 130, 44], isBigEnough);
-//=> true
-```
-
-## API
-
-### every(arr, callback)
-
-#### arr
-Type: `Array`<br>
-The array to iterate upon.
-
-#### callback(value[, index, array])
-Type: `Function`<br>
-Function to test for each element, taking three arguments:
-
-* **value** (required) -- The current element being processed in the array.
-* **index** (optional) -- The index of the current element being processed in the array.
-* **array** (optional) -- The array `every` was called upon.
-
-
-## License
-
-MIT © [Luke Edwards](http://lukeed.com)