Check whether the value x is contained in the interval, i.e. whether a <= x <= b or b <= x <= a.
See Implementation
Check whether the value x is contained in the interval, i.e. whether a <= x <= b or b <= x <= a.