Array nodes¶
Array nodes represent function methods like filter, map, find and reduce for JavaScript arrays.
The "array" nodes and their respective functions are described in the following sections:
Find node¶
The "find" node will return the value of the first element of an array that fulfills the requirements of the included testing function.
Reduce node¶
The "reduce" node reduces an array to a single value. The node will apply a function against an accumulator and each element in the array (from left to right).
Map node¶
The "map" node modifies an array with the implemented function. As a result you will get a new array.
Filter node¶
The "filter" node will return a new array that contains all elements that pass the conditions of the implemented function.
Last update: July 18, 2024