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

Method is_valid

core/variant/callable.cpp:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160bool Callable::is_valid() const {
161 if (is_custom()) {
162 return get_custom()->is_valid();
163 } else {
164 return get_object() && get_object()->has_method(get_method());
165 }
166}
167
168Object *Callable::get_object() const {
169 if (is_null()) {

Callers 8

refMethod · 0.45
parse_valueMethod · 0.45
writeMethod · 0.45
get_call_error_textMethod · 0.45
set_typedMethod · 0.45
callable.cppFile · 0.45
weakrefMethod · 0.45
set_typedMethod · 0.45

Calls 1

has_methodMethod · 0.45

Tested by

no test coverage detected