Skip to content

Commit 1beedb8

Browse files
committed
Update GDScript reference, 'in'-keyword explanation
The explanation for the keyword 'in' states it checks, whether an element is in a list (among others). This is the only occurrence of the word 'list' in this context and I assume it actually means array. To avoid future confusion, it makes sense to replace the word list with array in this explanation.
1 parent c631f75 commit 1beedb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/scripting/gdscript/gdscript_basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ in case you want to take a look under the hood.
181181
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
182182
| is | Tests whether a variable extends a given class, or is of a given built-in type. |
183183
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
184-
| in | Tests whether a value is within a string, list, range, dictionary, or node. When used with ``for``, it iterates through them instead of testing. |
184+
| in | Tests whether a value is within a string, array, range, dictionary, or node. When used with ``for``, it iterates through them instead of testing. |
185185
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
186186
| as | Cast the value to a given type if possible. |
187187
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+

0 commit comments

Comments
 (0)