Skip to main content

includes

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

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

Parameters Jump to heading

Jump to headingsearchElement: number

The element to search for.

optional
Jump to headingfromIndex: number

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

Return Type Jump to heading

boolean
Back to top