contains
Checks whether the passed value belongs to the interval
Return
true if the value belongs to the interval, false otherwise.
Parameters
value
the value to be checked
Non-strict set containment between intervals
Return
true if the argument interval is contained, false otherwise
Parameters
target
interval to be checked
Throws
when the target is of a different type