Skip to main content

slice

Function slice 

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

1-indexed, inclusive-end slice of a List. Out-of-range slices are empty.