Skip to main content

lastIndexOf

method Float16Array.lastIndexOf
Jump to headingFloat16Array.lastIndexOf(
searchElement: number,
fromIndex?: number,
): number

Returns the index of the last occurrence of a value in an array.

Parameters Jump to heading

Jump to headingsearchElement: number

The value to locate in the array.

optional
Jump to headingfromIndex: number

The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.

Return Type Jump to heading

number
Back to top