Page Contents

Home > @loopback/rest > Node

Node interface

A Node in the trie


export interface Node<T> 


Property Modifiers Type Description
children readonly { [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