Interface ArrayObject.ArrayFindCallback
-
- Enclosing class:
- ArrayObject
@JsFunction public static interface ArrayObject.ArrayFindCallback
Java script FUNCTION callback called to find an element in 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 find an element in the array.
-
-
-
Method Detail
-
call
boolean call(NativeObject element, int index)
Method of function to be called to find an element in the array.- Parameters:
element
- current element being processed in the arrayindex
- the index of the current element being processed in the array- Returns:
- the value of the first element in the array that satisfies the provided testing function.
Otherwise, undefined is returned.
-
-