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