Method Array.callbackAndAll
Summary:
Iterates through an array passing a core element and the array indexed value to a callback.
- Calling Convention:
-
Array.callbackAndAll(Element, callback)
- Parameters:
-
- Element
- An element passed to the callback
- callback
- The callback function to be called. Should return a boolean true or false.
- Returns:
- True if ALL callback returned true
- False if ANY callback returned false