MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / operator==

Method operator==

core/string/string_name.cpp:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147bool StringName::operator==(const String &p_name) const {
148 if (_data) {
149 return _data->name == p_name;
150 }
151
152 return p_name.is_empty();
153}
154
155bool StringName::operator==(const char *p_name) const {
156 if (_data) {

Callers 1

operator==Function · 0.45

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected