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

Method isReserveSymbol

source/src/scriptinterpreter.h:1167–1170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165 {
1166 std::unique_lock<std::mutex> lock(savedVariables_Mutex);
1167 auto i = savedVariables.find(name);
1168 if (i != savedVariables.end()) v = i->second;
1169 }
1170 switch (v.index())
1171 {
1172 case typepack::value::Type::Bool: return v.toBool();
1173 case typepack::value::Type::Int: return v.toInt();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected