@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
35 lines (24 loc) • 1.14 kB
Markdown
---
lang: en
title: 'API docs: rest.node'
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.node.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [Node](./rest.node.md)
## Node interface
A Node in the trie
**Signature:**
```typescript
export interface Node<T>
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [children](./rest.node.children.md) | <code>readonly</code> | { \[key: string\]: [Node](./rest.node.md)<!-- --><T>; } | Children of the node |
| [key](./rest.node.key.md) | | string | Key of the node |
| [names?](./rest.node.names.md) | | string\[\] | _(Optional)_ Names of the node if it contains named parameters |
| [regexp?](./rest.node.regexp.md) | | RegExp | _(Optional)_ Regular expression for the template |
| [value?](./rest.node.value.md) | | T | _(Optional)_ Value of the node |