ml-spectra-processing
Preparing search index...
xFindClosestIndex
Function xFindClosestIndex
xFindClosestIndex
(
array
:
NumberArray
,
target
:
number
,
options
?:
XFindClosestIndexOptions
,
)
:
number
Returns the closest index of a
target
Parameters
array
:
NumberArray
array of numbers.
target
:
number
target value.
options
:
XFindClosestIndexOptions
= {}
options.
Returns
number
closest index.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ml-spectra-processing
Loading...
Returns the closest index of a
target