Function clone

  • Creates an interval equal to x, equivalent to Interval().set(x.lo, x.hi)

    Example

    Interval.clone(
    Interval(1, 2)
    ) // Interval(1, 2)
    Interval.clone(
    Interval.EMPTY
    ) // Interval.EMPTY

    Returns

    Parameters

    Returns Interval

Generated using TypeDoc