summaryrefslogtreecommitdiff
path: root/doc/base
diff options
context:
space:
mode:
authorKazuo256 <kazuo256@gmail.com>2016-11-18 18:30:16 -0200
committerKazuo256 <kazuo256@gmail.com>2016-11-18 18:45:51 -0200
commitbf4fda64fd403d589278919cff01c3207164207e (patch)
treebed9a1d2244b31ec27a40fa18cda6c6357608379 /doc/base
parent959683c3d8f7aaa7469d5758c7698e0da108b406 (diff)
Add Array.front() and Array.back()
Diffstat (limited to 'doc/base')
-rw-r--r--doc/base/classes.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 246f8cdac6..167fbb32cb 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -4656,6 +4656,20 @@
Remove the first occurrence of a value from the array.
</description>
</method>
+ <method name="front">
+ <return type="Variant">
+ </return>
+ <description>
+ Returns the first element of the array if the array is not empty (size>0).
+ </description>
+ </method>
+ <method name="back">
+ <return type="Variant">
+ </return>
+ <description>
+ Returns the last element of the array if the array is not empty (size>0).
+ </description>
+ </method>
<method name="find">
<return type="int">
</return>