Function isEmpty

  • Checks if x is empty, it's empty when x.lo > x.hi

    Example

    Interval.isEmpty(
    Interval.EMPTY
    ) // true
    Interval.isEmpty(
    Interval.WHOLE
    ) // false
    Interval.isEmpty(
    // bypass empty interval check
    Interval().set(1, -1)
    ) // true

    Returns

    Parameters

    • i: IInterval

    Returns boolean

Generated using TypeDoc