Add is_instance_valid() to GDScript doc.

This commit is contained in:
Juan Linietsky
2018-05-07 19:15:46 -03:00
parent 3e112b9bde
commit 3fb71b620a

View File

@@ -1238,6 +1238,9 @@ must inherit :ref:`class_Object` manually and must call instance.free(). To
avoid reference cycles that can't be freed, a ``weakref`` function is
provided for creating weak references.
Alternatively, when not using references, the
``is_instance_valid(instance)`` can be used to check if an object has been
freed.
Signals
~~~~~~~