summaryrefslogtreecommitdiffstats
path: root/core/variant/callable_bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/variant/callable_bind.cpp')
-rw-r--r--core/variant/callable_bind.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/variant/callable_bind.cpp b/core/variant/callable_bind.cpp
index 5be91c6e11..378d1ff618 100644
--- a/core/variant/callable_bind.cpp
+++ b/core/variant/callable_bind.cpp
@@ -75,6 +75,10 @@ CallableCustom::CompareLessFunc CallableCustomBind::get_compare_less_func() cons
return _less_func;
}
+bool CallableCustomBind::is_valid() const {
+ return callable.is_valid();
+}
+
StringName CallableCustomBind::get_method() const {
return callable.get_method();
}
@@ -193,6 +197,10 @@ CallableCustom::CompareLessFunc CallableCustomUnbind::get_compare_less_func() co
return _less_func;
}
+bool CallableCustomUnbind::is_valid() const {
+ return callable.is_valid();
+}
+
StringName CallableCustomUnbind::get_method() const {
return callable.get_method();
}