> For the complete documentation index, see [llms.txt](https://docs.discorddungeons.me/quest-editor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discorddungeons.me/quest-editor/list-blocks/length_of.md).

# Length Of List Block

![Length Of List Block](/files/-LNixDNVYHCns77LCd2B)

The length of list block returns the number of elements in the list attached to the block.

## Generated Code

```javascript
<list>.length;
```
