ucl/_docs/mod/list.md
2025-01-26 09:36:16 +11:00

22 lines
355 B
Markdown

---
---
# 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.