CodeQL library for JavaScript
Search

Member predicate Koa::RouteHandler::getAContextExpr

Gets an expression that contains the “context” object of a route handler invocation.

Explanation: the context-object in Koa is typically this or ctx, given as the first and only argument to the route handler.

Expr getAContextExpr()