CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.10-dev (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)