mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add sort and has methods to PackedArrays
This commit is contained in:
@@ -45,6 +45,15 @@
|
||||
Returns [code]true[/code] if the array is empty.
|
||||
</description>
|
||||
</method>
|
||||
<method name="has">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="value" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Returns [code]true[/code] if the array contains [code]value[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="insert">
|
||||
<return type="int">
|
||||
</return>
|
||||
@@ -108,6 +117,13 @@
|
||||
Returns the array size.
|
||||
</description>
|
||||
</method>
|
||||
<method name="sort">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
Sorts the elements of the array in ascending order.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<constants>
|
||||
</constants>
|
||||
|
||||
Reference in New Issue
Block a user