method Float16Array.indexOfFloat16Array.indexOf(searchElement: number,fromIndex?: number,): numberDeprecatedReturns the index of the first occurrence of a value in an array. ParameterssearchElement: numberThe value to locate in the array. optionalfromIndex: numberThe array index at which to begin the search. If fromIndex is omitted, the search starts at index 0. Return Typenumber