@loopback/docs
Version:
Documentation for LoopBack 4
34 lines (23 loc) • 1.02 kB
Markdown
---
lang: en
title: 'API docs: rest.node'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
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
<b>Signature:</b>
```typescript
export interface Node<T>
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [children](./rest.node.children.md) | <code>{</code><br/><code> [key: string]: Node<T>;</code><br/><code> }</code> | Children of the node |
| [key](./rest.node.key.md) | <code>string</code> | Key of the node |
| [names](./rest.node.names.md) | <code>string[]</code> | Names of the node if it contains named parameters |
| [regexp](./rest.node.regexp.md) | <code>RegExp</code> | Regular expression for the template |
| [value](./rest.node.value.md) | <code>T</code> | Value of the node |