Determines whether all the elements of a typed array satisfy the specified test.
every(predicate, thisArg?)
predicate function(value, index, array)
A function that accepts value, index, and array. It is called for every element of the array until it returns a falsy value or until the end of the array.
thisArg optional
An object to which the this keyword is bound in the predicate function. If omitted, undefined is used as the this value.
Returns true if for all the elements of array the predicate function
returned a truthy value, false otherwise.
new Uint16Array([2, 4, 6]).every(x => x % 2 == 0)
true