ixfx
    Preparing search index...

    Function sumDuration

    • Returns the total duration of all events. Doesn't take into account the spacing between events, just sums the duration of each one.

      Use computeRange if you want to calculate the min and max starting points.

      Parameters

      • events: Readonly<{ end: number; start: number }>[]

      Returns number

      Duration