mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
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.
This commit is contained in:
@@ -181,7 +181,7 @@ in case you want to take a look under the hood.
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| is | Tests whether a variable extends a given class, or is of a given built-in type. |
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| 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. |
|
||||
| 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. |
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| as | Cast the value to a given type if possible. |
|
||||
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user