mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Add sort and has methods to PackedArrays
This commit is contained in:
@@ -44,6 +44,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="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
Returns [code]true[/code] if the array contains [code]value[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="insert">
|
||||
<return type="int">
|
||||
</return>
|
||||
@@ -107,6 +116,13 @@
|
||||
Returns the size of the array.
|
||||
</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