Add Callable.is_valid() analogous to FuncRef.is_valid() from 3.x
This commit is contained in:
@ -133,6 +133,13 @@
|
||||
Returns [code]true[/code] if this [Callable] is a standard callable, referencing an object and a method using a [StringName].
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_valid" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<description>
|
||||
Returns [code]true[/code] if the object exists and has a valid function assigned, or is a custom callable.
|
||||
</description>
|
||||
</method>
|
||||
<method name="operator !=" qualifiers="operator">
|
||||
<return type="bool">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user