Function hasInterval

  • Checks if x is a subset of y

    Example

    Interval.hasInteravl(
    Interval(0, 3),
    Interval(1, 2)
    ) // true
    Interval.hasInteravl(
    Interval(0, 3),
    Interval(1, 4)
    ) // false

    Returns

    Parameters

    • x: IInterval
    • y: IInterval

    Returns boolean

Generated using TypeDoc