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

Member predicate AST::ValueNode::getTypeBinding

Gets information about the type of this expression.

This can be used to map an expression to the classes it may be an instance of (according to the type system), or to associate it with a named type coming from a dependency.

TypeNameBindingNode getTypeBinding()