summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2020-08-12 17:53:18 +0200
committerTomasz Chabora <kobewi4e@gmail.com>2020-08-12 17:53:18 +0200
commit4ff1a341717de6df6c4485d2f07c956656a253c8 (patch)
tree38f186b26dfe0513d61e4cadc08929689f42e771 /doc/classes
parent9413446b2d942402491254feae549e85740692a9 (diff)
Mention that Array.front/back throw error if empty
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Array.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml
index b79b24e0bc..61df5e092e 100644
--- a/doc/classes/Array.xml
+++ b/doc/classes/Array.xml
@@ -119,7 +119,7 @@
<return type="Variant">
</return>
<description>
- Returns the last element of the array, or [code]null[/code] if the array is empty.
+ Returns the last element of the array. Throws an error and returns [code]null[/code] if the array is empty.
</description>
</method>
<method name="bsearch">
@@ -216,7 +216,7 @@
<return type="Variant">
</return>
<description>
- Returns the first element of the array, or [code]null[/code] if the array is empty.
+ Returns the first element of the array. Throws an error and returns [code]null[/code] if the array is empty.
</description>
</method>
<method name="has">