contains
Return
true if x is in the interval (includes end points)
Parameters
x
the value to check
Checks if the supplied interval is contained within this interval
Return
true only if both lower and upper limits of supplied interval are within this interval
Parameters
interval
the interval to check