Returns whether every entry in this collection passes a given test.
The given callback receives the value for each entry, the key or index, and the
collection itself.
every
stops visiting entries upon reaching an entry for which the guard
returns a falsy value, and returns false.
Otherwise it will return true.
var list = new List([2, 4, 6, 8]); list.every(function (value) { return value % 2 === 0; }); list.every(function (value) { return value % 3 === 0 });
Returns whether any entry in this collection passes a given test.
Returns an array with each value from this collection that passes the given test.
Iterates every value in this collection.