pub fn last(value: Value, _: HashMap<String, Value>) -> Result<Value> {
    let mut arr = try_get_value!("last", "value", Vec<Value>, value);

    Ok(arr.pop().unwrap_or_else(|| to_value("").unwrap()))
}
/// Returns the last value of an array
/// If the array is empty, returns empty string
Returns the last value of an array
If the array is empty, returns empty string
Returns the last value of an array If the array is empty returns empty string
pub fn last(value: Value, _: HashMap<String, Value>) -> Result<Value> {
    let mut arr = try_get_value!("last", "value", Vec<Value>, value);
    Ok(arr.pop().unwrap_or_else(|| to_value("").unwrap()))
}
pub fn last ( value : Value , _ : HashMap < String , Value > ) -> Result < Value > { let mut arr = try_get_value ! ( " " " " Vec Value value ) ; Ok ( arr . pop ( ) . unwrap_or_else ( | | to_value ( " " ) . unwrap ( ) ) ) }
Returns the last value of an array
If the array is empty, returns empty string
Returns the last value of an array If the array is empty returns empty string
value
HashMap<String, Value>
value
HashMap<String, Value>