Documentation

filter

filters the array

array filter(function functor,object master);

Parameters

functorfunctionthe filtering function
masterobjectthe object that the function should be applied to

Returns

arraythe initial but filtered array
Details

Note, the method filters and rebuilds the initial calling array and not create a new one with filtered values.

Back to top