> 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](https://602309350-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNeYKoJ5VTmJdlF1rx1%2F-LNixCklvoD49ML8vZ_A%2F-LNixDNVYHCns77LCd2B%2Flength_of.jpg?generation=1538386095438462\&alt=media)

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

## Generated Code

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