Returns whether any 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.
some
stops visiting entries upon reaching an entry for which the guard returns
a truthy value, and returns true.
Otherwise it will return false.
var list = new List([2, 4, 6, 8]); list.some(function (value) { return value % 2 === 0; }); list.some(function (value) { return value % 3 === 0 }); list.some(function (value) { return value === 10 });
Returns whether every 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.