mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
config redirect
This commit is contained in:
10
node_modules/d3-array/src/every.js
generated
vendored
Normal file
10
node_modules/d3-array/src/every.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
export default function every(values, test) {
|
||||
if (typeof test !== "function") throw new TypeError("test is not a function");
|
||||
let index = -1;
|
||||
for (const value of values) {
|
||||
if (!test(value, ++index, values)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user