/// <summary> /// Check whether the range has an upper bound. /// </summary> /// <returns>true if the range has an upper bound, false otherwise.</returns> public bool HasUpperBound() { return(UpperBound.IsClosed()); }
/// <summary> /// Check whether the range has a lower bound. /// </summary> /// <returns>true if the range has a lower bound, false otherwise.</returns> public bool HasLowerBound() { return(LowerBound.IsClosed()); }