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

Member predicate InvokeExpr::hasOptionArgument

Holds if the ith argument of this invocation is an object literal whose property name is set to value.

This predicate is an approximation, computed using only local data flow.

predicate hasOptionArgument(int i, string name, Expr value)