summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-05 13:43:21 +0200
committerGitHub <noreply@github.com>2022-04-05 13:43:21 +0200
commitc91f4ac4192d44fd22c67626eb520d70194ca72e (patch)
treeb08702977eef8555cee4e44b0e362a786a2bd4af /doc/classes
parentdc1ea3c239f4886df88c21e52c41d4cf8daa8972 (diff)
parentf84e2db35e2f6eceb4f8c3a1e8e9de7adf6f4c30 (diff)
Merge pull request #59910 from rcorre/array-remove-doc
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Array.xml2
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>