ketos::function
pub fn init(v: &Value) -> Result<Value, Error>
Returns all but the last element of a list or string.
Returns an error in case of an empty list or string.