Elementals.js

Latest Version: 3.4 PRODUCTION 18 November 2017

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

Advertisement