mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
C#: Replace "falsy" with "false" in C# "is" doc (#6733)
This commit is contained in:
@@ -67,7 +67,8 @@ Generic methods are also provided to make this type conversion transparent.
|
||||
|
||||
To check if the node can be cast to Sprite2D, you can use the ``is`` operator.
|
||||
The ``is`` operator returns false if the node cannot be cast to Sprite2D,
|
||||
otherwise it returns true. Note that using the ``is`` operator against ``null`` is always going to be falsy.
|
||||
otherwise it returns true. Note that when the ``is`` operator is used against ``null``
|
||||
the result is always going to be ``false``.
|
||||
|
||||
.. code-block:: csharp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user