Member predicate Variables::VarAccess::getVariable

Gets the variable this identifier refers to.

When analyzing TypeScript code, a variable may spuriously be resolved as a global due to incomplete modeling of exported variables in namespaces.

Variable getVariable()