Some
methodsExecutes a callback function for every single item in the array and returns true or false depending if any of the items in the array passes the condition. An equivalent of Array.prototype.some.
Parameters:callbackFunction
Returns:Boolean
The function that will be executed for every item.
—Returns true if any of the items passes the test function condition. Otherwise, returns false.