ixfx
    Preparing search index...

    Function overlapping

    • Yields all events that overlap with point. By default event end is considered exclusive, meaning that if point == event.end, it is not considered overlapping. If endInclusive is true, event end is considered inclusive, and the aforementioned would be considered ovlerapping.

      By default start is inclusive.

      Type Parameters

      • T extends Readonly<{ end: number; start: number }>

      Parameters

      • sortedEvents: T[]
      • point: number
      • endInclusive: boolean = false

        Whether event end is considered inclusive for determining overlap (default:false)

      • startInclusive: boolean = true

        Whether event start is considered inclusive for determining overlap (default:true)

      Returns Generator<Readonly<{ event: EventItem; index: number }>>