Merge pull request #59910 from rcorre/array-remove-doc
This commit is contained in:
commit
c91f4ac419
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="value" type="Variant" />
|
<argument index="0" name="value" type="Variant" />
|
||||||
<description>
|
<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] 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.
|
[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>
|
</description>
|
||||||
|
|
Loading…
Reference in a new issue