Function hasValue

  • Checks if value is included in the interval x

    Example

    Interval.hasValue(
    Interval(-1, 1),
    0
    ) // true
    Interval.hasValue(
    Interval(-1, 1),
    10
    ) // false

    Returns

    Parameters

    • i: IInterval
    • value: number

    Returns boolean

Generated using TypeDoc