UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

13 lines (12 loc) 342 B
module.exports = { 'name': 'forEach', 'category': 'Matrix', 'syntax': [ 'forEach(x, callback)' ], 'description': 'Iterates over all elements of a matrix/array, and executes the given callback function.', 'examples': [ 'forEach([1, 2, 3], function(val) { console.log(val) })' ], 'seealso': ['map', 'sort', 'filter'] };