MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / exists

Method exists

src/Core/Bindings/BindingTree.cpp:125–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 bool BindingTree::exists(const std::string& id)
126 {
127 for (auto& tree : m_children)
128 {
129 if (tree->getId() == id)
130 return true;
131 }
132 return false;
133 }
134
135 void BindingTree::operator()(sol::state_view lua, bool spreads)
136 {

Callers 1

BindingTree.cppFile · 0.80

Calls 1

getIdMethod · 0.80

Tested by

no test coverage detected