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

Predicate ConnectExpressShared::getRouteParameterHandlerParameter

Gets the parameter of kind kind of a Connect/Express route parameter handler function.

kind is one of: “error”, “request”, “response”, “next”.

Import path

import semmle.javascript.frameworks.ConnectExpressShared
ParameterNode getRouteParameterHandlerParameter(FunctionNode routeHandler, string kind)