CodeQL library for JavaScript
codeql/javascript-all 0.4.1 (changelog, source)

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)