ucl/_docs/mod/list.md

22 lines
355 B
Markdown
Raw Normal View History

2025-01-24 02:30:09 +00:00
---
---
# List Builtins
### add
```
lists:add LIST [ARGS...]
```
Adds values to the end of the list. Returns the modified list.
### batch
```
lists:batch LIST SIZE
```
Returns a list containing the items of LIST grouped into a sub-list no greater
than SIZE. SIZE must be an integer greater than 0. If LIST is empty,
then an empty list is returned.