diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-05 13:43:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 13:43:21 +0200 |
commit | c91f4ac4192d44fd22c67626eb520d70194ca72e (patch) | |
tree | b08702977eef8555cee4e44b0e362a786a2bd4af /doc/classes | |
parent | dc1ea3c239f4886df88c21e52c41d4cf8daa8972 (diff) | |
parent | f84e2db35e2f6eceb4f8c3a1e8e9de7adf6f4c30 (diff) |
Merge pull request #59910 from rcorre/array-remove-doc
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Array.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index 27331d3f96..ef4f86f1a9 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -194,7 +194,7 @@ <return type="void" /> <argument index="0" name="value" type="Variant" /> <description> - Removes the first occurrence of a value from the array. To remove an element by index, use [method remove_at] instead. + Removes the first occurrence of a value from the array. If the value does not exist in the array, nothing happens. To remove an element by index, use [method remove_at] instead. [b]Note:[/b] This method acts in-place and doesn't return a value. [b]Note:[/b] On large arrays, this method will be slower if the removed element is close to the beginning of the array (index 0). This is because all elements placed after the removed element have to be reindexed. </description> |