Răsfoiți Sursa

Merge pull request #8918 from dalexeev/gds-is-not-operator

GDScript: Document `is not` operator
Max Hilbrunner 1 an în urmă
părinte
comite
2885812f51
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 2 - 2
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -242,8 +242,8 @@ The following is the list of supported operators and their precedence.
 +---------------------------------------+-----------------------------------------------------------------------------+
 | ``await x``                           | `Awaiting for signals or coroutines`_                                       |
 +---------------------------------------+-----------------------------------------------------------------------------+
-| ``x is Node``                         | Type checking                                                               |
-|                                       |                                                                             |
+| | ``x is Node``                       | Type checking                                                               |
+| | ``x is not Node``                   |                                                                             |
 |                                       | See also :ref:`is_instance_of() <class_@GDScript_method_is_instance_of>`    |
 |                                       | function.                                                                   |
 +---------------------------------------+-----------------------------------------------------------------------------+