pub fn is_upper_closed(&self) -> Option<bool> {
        match &self.imp{
           None => None,
            Some(a) => Some(a.up.is_closed())
        }
    }
/**
    Checks if the upper bound of an interval is closed.

    Returns ```None``` if the interval is empty.

    # Example

    ```
    use advanced_collections::interval::Interval;
    fn main() {
       let i = Interval::closed(3,5);
       assert_eq!(i.is_upper_closed(), Some(true));
    }
    ```
    */
Checks if the upper bound of an interval is closed.
Checks if the upper bound of an interval is closed .
pub fn is_upper_closed(&self) -> Option<bool> {
        match &self.imp{
           None => None,
            Some(a) => Some(a.up.is_closed())
        }
    }
pub fn is_upper_closed ( & self ) -> Option < bool > { match & self . imp { None => None , Some ( a ) => Some ( a . up . is_closed ( ) ) } }
Checks if the upper bound of an interval is closed.
Checks if the upper bound of an interval is closed .
&self
&self
example
```
use advanced_collections::interval::Interval;
fn main() {
let i = Interval::closed(3,5);
assert_eq!(i.is_upper_closed(), Some(true));
}
```
` ` ` use advanced_collections :: interval :: Interval ; fn main () { let i = Interval :: closed ( 3 5 ) ; assert_eq! ( i . is_upper_closed () Some ( true )) ; } ` ` `