From e155194384afc2021fca44e1feb8ba77a382414d Mon Sep 17 00:00:00 2001 From: 31 <331300+31@users.noreply.github.com> Date: Sun, 5 Feb 2023 07:08:39 -0600 Subject: [PATCH] C#: Replace "falsy" with "false" in C# "is" doc (#6733) --- tutorials/scripting/c_sharp/c_sharp_features.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/scripting/c_sharp/c_sharp_features.rst b/tutorials/scripting/c_sharp/c_sharp_features.rst index 805ddf041..b4d5a6b57 100644 --- a/tutorials/scripting/c_sharp/c_sharp_features.rst +++ b/tutorials/scripting/c_sharp/c_sharp_features.rst @@ -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