pub fn is_single_element(&self) -> bool {
    if !self.has_upper_limit() {
      false
    } else if !self.has_lower_limit() {
      false
    } else {
      self.as_upper_limit() == self.as_lower_limit() && !self.is_empty()
    }
  }
/// Verify whether this interval is a single-element interval or not.
///
/// A single-element interval has both upper and lower limits, and also indicates that these limits are equal and not an open interval.
/// For example, `3 <= x < 3`, `3 <= x <= 3`, and `3 <= x <= 3`.
///
/// - return: `true` if it's a single element interval, `false` otherwise
Verify whether this interval is a single-element interval or not.
A single-element interval has both upper and lower limits, and also indicates that these limits are equal and not an open interval.

`true` if it's a single element interval, `false` otherwise
Verify whether this interval is a single - element interval or not . A single - element interval has both upper and lower limits and also indicates that these limits are equal and not an open interval . ` true ` if it ' s a single element interval ` false ` otherwise
pub fn is_single_element(&self) -> bool {
    if !self.has_upper_limit() {
      false
    } else if !self.has_lower_limit() {
      false
    } else {
      self.as_upper_limit() == self.as_lower_limit() && !self.is_empty()
    }
  }
pub fn is_single_element ( & self ) -> bool { if ! self . has_upper_limit ( ) { false } else if ! self . has_lower_limit ( ) { false } else { self . as_upper_limit ( ) == self . as_lower_limit ( ) && ! self . is_empty ( ) } }
Verify whether this interval is a single-element interval or not.
Verify whether this interval is a single - element interval or not .
&self