Calls the given closure with every element in the given array.

the function returns an array that contains all values returned by the closure. closure [, parallel [, maxThreads ] ] )

Returns: Array

Argument Description
function, required

filter can be a function/closure that implements the following constructor

[function(any value[, number index, array array]):any].

Alias: function, callback, udf

boolean, optional

execute closures parallel

number, optional

maximum number of threads executed, ignored when argument "parallel" is set to false


There are currently no examples for this function

See also