ixfx
    Preparing search index...

    Function computeRange

    • Gets the range of events: the smallest 'start' and the largest 'end'.

      If there are gaps between events, this is still included in the range. Use sumDuration to add up the duration of all events as if they are stacked end-to-end.

      Parameters

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

      Returns { end: number; start: number }

      Range of events