Skip to main content
method Float16Array.includes
Float16Array.includes(
searchElement: number,
fromIndex?: number,
): boolean
Deprecated

Determines whether an array includes a certain element, returning true or false as appropriate.

Parameters

searchElement: number

The element to search for.

optional
fromIndex: number

The position in this array at which to begin searching for searchElement.

Return Type

boolean
Back to top