@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
28 lines (18 loc) • 689 B
Markdown
---
lang: en
title: 'API docs: rest.trie.list'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.trie.list.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [Trie](./rest.trie.md) > [list](./rest.trie.list.md)
## Trie.list() method
List all nodes with value of the trie
<b>Signature:</b>
```typescript
list(): NodeWithValue<T>[];
```
<b>Returns:</b>
[NodeWithValue](./rest.nodewithvalue.md)<!-- --><T>\[\]