Page Contents
Home > @loopback/rest > Node
Node interface
A Node in the trie
Signature:
export interface Node<T>
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
|
|
{ [key: string]: Node<T>; } |
Children of the node | |
|
string |
Key of the node | ||
|
string[] |
(Optional) Names of the node if it contains named parameters | ||
|
RegExp |
(Optional) Regular expression for the template | ||
|
T |
(Optional) Value of the node |