ktongue's picture
download
raw
265 Bytes
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;
}

Xet Storage Details

Size:
265 Bytes
·
Xet hash:
83f3df0a80838f87caf838a2f6b04197efe7522c517b10db9bde92cf31b119ea

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.