UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

35 lines (24 loc) 1.11 kB
--- 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) &gt; [@loopback/rest](./rest.md) &gt; [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) | { \[key: string\]: [Node](./rest.node.md)<!-- -->&lt;T&gt;; } | Children of the node | | [key](./rest.node.key.md) | string | Key of the node | | [names?](./rest.node.names.md) | string\[\] | <i>(Optional)</i> Names of the node if it contains named parameters | | [regexp?](./rest.node.regexp.md) | RegExp | <i>(Optional)</i> Regular expression for the template | | [value?](./rest.node.value.md) | T | <i>(Optional)</i> Value of the node |