MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / globalValue

Method globalValue

source/src/scriptinterpreter.h:988–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986 else return localExist(var, local);
987 }
988 return false;
989 }
990 bool globalExist(const std::string& var)
991 {
992 std::unique_lock<std::mutex> lock(globalVariablesMutex);
993 return globalVariables.find(var) != globalVariables.end();
994 }
995 bool localExist(const std::string& var, const QiVarMap* local = nullptr)
996 {
997 if (local)

Callers

nothing calls this directly

Calls 3

QiVarClass · 0.85
endMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected