Link Search Menu Expand Document


Provides functions for simplifying the usage of iterables.


iters.each(object: iterable, callback: function)
Calls function callback for each item in the iterale object and pass the item and index as arguments to the callback function. The callback function should capture the item its first parameter and if the index of the item in the iterable is needed, it can be captured in the second item.

Back to top

Copyright © 2021 Ore Richard Muyiwa. Distributed under the MIT license.