diff options
| author | J08nY | 2016-06-03 23:10:43 +0200 |
|---|---|---|
| committer | J08nY | 2016-06-03 23:36:02 +0200 |
| commit | 5f5ca8cd9b323e3a89940afd5df09099f83d1473 (patch) | |
| tree | 949b8600b7f921ebdeba73549a137346bc800f0d /doc/base/classes.xml | |
| parent | b4fb4a131dcfc4b62b07e33430d638c0813c3b71 (diff) | |
| download | godot-5f5ca8cd9b323e3a89940afd5df09099f83d1473.tar.gz godot-5f5ca8cd9b323e3a89940afd5df09099f83d1473.tar.zst godot-5f5ca8cd9b323e3a89940afd5df09099f83d1473.zip | |
Added Array.find_last() and Array.count()
Diffstat (limited to '')
| -rw-r--r-- | doc/base/classes.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index a380c1911..11959f9b5 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -4340,6 +4340,15 @@ Clear the array (resize to 0). </description> </method> + <method name="count"> + <return type="int"> + </return> + <argument index="0" name="value" type="var"> + </argument> + <description> + Return the amount of times an element is in the array. + </description> + </method> <method name="empty"> <return type="bool"> </return> @@ -4363,6 +4372,15 @@ Searches the array for a value and returns its index or -1 if not found. </description> </method> + <method name="find_last"> + <return type="int"> + </return> + <argument index="0" name="value" type="var"> + </argument> + <description> + Searches the array in reverse order for a value and returns its index or -1 if not found. + </description> + </method> <method name="hash"> <return type="int"> </return> |
