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

Predicate Routing::getRouteHandler

Gets the RouteHandler node corresponding to the given function.

This has the same result as getNode(function) but is declared with a different return type.

Import path

import javascript
RouteHandler getRouteHandler(FunctionNode function)