summaryrefslogtreecommitdiff
path: root/server-beta/src/searcher/isGlobal.lua
blob: 8c59dadb5646ff452200bdd7a393cd04f9b239a4 (plain)
1
2
3
4
5
6
7
local searcher = require 'searcher.searcher'
local guide    = require 'parser.guide'

function searcher.isGlobal(source)
    local globals = searcher.getGlobals(source)
    return searcher.cache.isGlobal[source] == true
end