tables
which can contain nil
items without shortening the length. They also have a few additional methods to assist with managing the size.cp.collect.List.of(...) -> cp.collect.List
List
with the specified items init.List
instance.cp.collect.List.sized([size[, defaultValue]]) -> cp.collect.List
List
with the specified size.0
.List
instance.cp.collect.List:size([newSize]) -> number
nil
.cp.collect.List:trim([minSize]) -> cp.collect.List
List
to only contain trailing values that are not nil
.0
.List
instance.