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