Phan\Language\Scope\GlobalScope::hasVariableWithName PHP Method

hasVariableWithName() public method

public hasVariableWithName ( string $name ) : boolean
$name string
return boolean True if a variable with the given name is defined within this scope
    public function hasVariableWithName(string $name) : bool
    {
        return !empty(self::$global_variable_map[$name]);
    }