Function array_range_access

Source
pub fn array_range_access(
    list: ListRef<'_>,
    start: i32,
    end: i32,
) -> Option<ListValue>
Expand description

If the case is array[1,2,3][:2], then start will be 0 set by the frontend If the case is array[1,2,3][1:], then end will be i32::MAX set by the frontend