Chalkboard - v3.0.1
Preparing search index...
Chalkboard
diff
closestIndex
Function closestIndex
closestIndex
(
t
:
number
[]
,
target
:
number
)
:
number
Returns the index of the time grid closest to a target time.
Parameters
t
:
number
[]
Time array.
target
:
number
Target time.
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Source code
Examples
Chalkboard - v3.0.1
Loading...
Returns the index of the time grid closest to a target time.