---
lang: en
title: 'API docs: rest.trie.list'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.trie.list.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [Trie](./rest.trie.md) &gt; [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<T>[]`


