• Parameters

    • a: number[]

      a range

    • b: number[]

      another range

    Returns number[]

    a range that is built from the minimum and maximum-most value from both ranges.

    Description

    Get a new range that fully encloses two ranges. Note that if the two ranges are separated and do not overlap, this "union" will include the area between them.