Преглед на файлове

Add bang operator to gdscript style guide (#6828)

Thiago Lages de Alencar преди 2 години
родител
ревизия
6095b20174
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      tutorials/scripting/gdscript/gdscript_styleguide.rst

+ 1 - 0
tutorials/scripting/gdscript/gdscript_styleguide.rst

@@ -414,6 +414,7 @@ Prefer the plain English versions of boolean operators, as they are the most acc
 
 - Use ``and`` instead of ``&&``.
 - Use ``or`` instead of ``||``.
+- Use ``not`` instead of ``!``.
 
 You may also use parentheses around boolean operators to clear any ambiguity.
 This can make long expressions easier to read.