Interface ArrayObject.ArrayFilterCallback
-
- Enclosing class:
- ArrayObject
@JsFunction public static interface ArrayObject.ArrayFilterCallback
Java script FUNCTION callback called to filter the array.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
call(NativeObject element, int index)
Method of function to be called to filter the array.
-
-
-
Method Detail
-
call
boolean call(NativeObject element, int index)
Method of function to be called to filter the array.- Parameters:
element
- current element being processed in the arrayindex
- the index of the current element being processed in the array- Returns:
- a value that coerces to
true
to keep the element, or tofalse
otherwise
-
-