find

gets the index of an element in the array

number find(any data);

Deprecated

The PowerArray mixin will be removed in Webix 7.0

Parameters

dataanythe element value

Returns

numberthe index of the element, -1 if it doesn't exist
Back to top