@pond-ts/fit API Reference
    Preparing search index...

    Function lapExtremes

    • The laps of a group with the lowest and highest of a number, for marking them on a chart; null with fewer than two laps that have a finite value, or when they tie. Ties go to the earlier lap. Every finite value counts, so return undefined from value for a lap that has none (as lapSpeed does).

      Parameters

      • lapIds: readonly number[]
      • value: (lap: number) => number | undefined

      Returns LapExtremes | null