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

Member predicate ModelInput::TypeModel::getAnApiNode

Gets an API node that is a source or sink of the given type.

Note that type should also be included in isTypeUsed.

Unlike getASource and getASink, this may depend on API graphs.

Node getAnApiNode(string type)