The type of elements in the input array.
The type of elements in the returned array.
The array of items to process.
A function that takes an item of the array and returns a new value or undefined.
An array of transformed items where the transformation function returned a defined value.
Generated using TypeDoc
Iterates over an array, applying a provided function to each element. If the function returns a defined value, that value is pushed into a result array. This filters out undefined values from the transformation.