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

    Class Sections<T>

    A collection of stretches (laps, splits, a group of laps). Not itself a section: the gaps between its members (a rep's recovery) belong to none of them, and its stats leave them out.

    Type Parameters

    Implements

    • Iterable<T>
    Index

    Accessors

    Methods

    • The member at index (negative counts from the end), if any.

      Parameters

      • index: number

      Returns T | undefined

    • The members grouped by key, in the order each key first appears.

      Type Parameters

      • K

      Parameters

      • key: (item: T, index: number) => K

      Returns Map<K, Sections<T>>