Răsfoiți Sursa

Add bang operator to gdscript style guide (#6828)

Thiago Lages de Alencar 2 ani în urmă
părinte
comite
6095b20174
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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.