roc/test/snapshots/repl/list_sublist_nested.md

282 B

META

description=List.sublist returns a continuous subsection of the original list
type=repl

SOURCE

» nested = List.sublist([[0, 1], [2, 3], [4, 5], [6]], {start: 2, len: 1})
» List.get(nested, 0)

OUTPUT

assigned nested

Ok([4, 5])

PROBLEMS

NIL