ducjs - v4.4.2
    Preparing search index...

    Function rangeIntersection

    • Given two ranges, returns the intersection of the two ranges if any. e.g. the intersection of [1, 3] and [2, 4] is [2, 3]

      Parameters

      • rangeA: [number, number]
      • rangeB: [number, number]

      Returns [number, number] | null