Skip to main content

list_pop

Function list_pop 

Source
pub fn list_pop(coll: &RuntimeValue) -> Result<RuntimeValue, String>
Expand description

Pop from list — removes and returns the last element, or Nothing when the list is empty (popping an empty list is NOT an error).