Duffer Derek

Current Path : /var/www/sitesecurity.bitkit.dk/httpdocs/node_modules/d3-array/src/
Upload File :
Current File : /var/www/sitesecurity.bitkit.dk/httpdocs/node_modules/d3-array/src/every.js

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;
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists