MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / hasString

Method hasString

TactilityCore/Source/Bundle.cpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36bool Bundle::hasString(const std::string& key) const {
37 auto entry = this->entries.find(key);
38 return entry != std::end(this->entries) && entry->second.type == Type::String;
39}
40
41bool Bundle::optBool(const std::string& key, bool& out) const {
42 auto entry = this->entries.find(key);

Callers 1

BundleTest.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected