Merge pull request #92737 from AThousandShips/packed_erase
[Core] Expose `Packed*Array::erase`
This commit is contained in:
@ -82,6 +82,13 @@
|
||||
Creates a copy of the array, and returns it.
|
||||
</description>
|
||||
</method>
|
||||
<method name="erase">
|
||||
<return type="bool" />
|
||||
<param index="0" name="value" type="String" />
|
||||
<description>
|
||||
Removes the first occurrence of a value from the array and returns [code]true[/code]. If the value does not exist in the array, nothing happens and [code]false[/code] is returned. To remove an element by index, use [method remove_at] instead.
|
||||
</description>
|
||||
</method>
|
||||
<method name="fill">
|
||||
<return type="void" />
|
||||
<param index="0" name="value" type="String" />
|
||||
|
||||
Reference in New Issue
Block a user