Chalkboard - v3.0.1
    Preparing search index...

    Function closestIndex

    • Returns the index of the time grid closest to a target time.

      Parameters

      • t: number[]

        Time array.

      • target: number

        Target time.

      Returns number