CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1 (changelog, source)
Search

Predicate Routing::getRouteSetupNode

Gets the routing node corresponding to the route installed at the given route setup.

This is not generally the same as getNode(call), since the route setup method can return a value that does not correspond to the route that was just installed. Typically this occurs when the route setup method is chainable and returns the router itself.

Import path

import javascript
Node getRouteSetupNode(Node call)