1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

[3.x] Bind Array and Pool*Array get and set functions

This commit is contained in:
Aaron Franke
2024-08-26 14:46:47 -07:00
parent 01c78d87fe
commit 699a48d8f1
12 changed files with 86 additions and 0 deletions

View File

@@ -75,6 +75,13 @@
Searches the array for a value and returns its index or [code]-1[/code] if not found. Optionally, the initial search index can be passed. Returns [code]-1[/code] if [code]from[/code] is out of bounds.
</description>
</method>
<method name="get">
<return type="String" />
<argument index="0" name="index" type="int" />
<description>
Returns the String at the given [code]index[/code] in the array. This is the same as using the [code][][/code] operator ([code]array[index][/code]).
</description>
</method>
<method name="has">
<return type="bool" />
<argument index="0" name="value" type="String" />