filter

filters the array

array filter(function functor,object master);

Deprecated

The PowerArray mixin will be removed in Webix 7.0

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