pub fn numeric_value(self) -> Result<(Number, Unit), Self> {
        match self {
            Value::Numeric(num, unit, ..) => Ok((num, unit)),
            v => Err(v),
        }
    }
/// Check if this value is numeric.
///
/// If it is, get the number and unit, otherwise, get the value
/// itself as error.
Check if this value is numeric.
If it is, get the number and unit, otherwise, get the value
itself as error.
Check if this value is numeric . If it is get the number and unit otherwise get the value itself as error .
pub fn numeric_value(self) -> Result<(Number, Unit), Self> {
        match self {
            Value::Numeric(num, unit, ..) => Ok((num, unit)),
            v => Err(v),
        }
    }
pub fn numeric_value ( self ) -> Result < ( Number , Unit ) , Self > { match self { Value :: Numeric ( num , unit , .. ) => Ok ( ( num , unit ) ) , v => Err ( v ) , } }
Check if this value is numeric.
Check if this value is numeric .
self
self