lastIndexOf

Bun

Symbol

Uint8Array.lastIndexOf

lastIndexOf(searchElement: number, fromIndex?: number): number

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

@param searchElement

The value to locate in the array.

@param fromIndex

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