pub fn as_i64(&self) -> Result<i64, ShellError> {
        match &self.value {
            UntaggedValue::Primitive(primitive) => primitive.as_i64(self.tag.span),
            _ => Err(ShellError::type_error("integer", self.spanned_type_name())),
        }
    }
/// View the Value as signed 64-bit, if possible
View the Value as signed 64-bit, if possible
View the Value as signed 64 - bit if possible
pub fn as_i64(&self) -> Result<i64, ShellError> {
        match &self.value {
            UntaggedValue::Primitive(primitive) => primitive.as_i64(self.tag.span),
            _ => Err(ShellError::type_error("integer", self.spanned_type_name())),
        }
    }
pub fn as_i64 ( & self ) -> Result < i64 , ShellError > { match & self . value { UntaggedValue :: Primitive ( primitive ) => primitive . as_i64 ( self . tag . span ) , _ => Err ( ShellError :: type_error ( " " , self . spanned_type_name ( ) ) ) , } }
View the Value as signed 64-bit, if possible
View the Value as signed 64 - bit if possible
&self
&self