diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-30 16:22:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-30 16:22:30 +0100 |
commit | df2968de2656afd8fad421724d053b6d88205857 (patch) | |
tree | 6781d91503f259fb2c0809ce4fe9c4e4a47f1a3b /doc/classes | |
parent | 5b687b4c93b56a6de08e19125127dc40b7479331 (diff) | |
parent | e0020447616d79ed674f3338339b7557abc41b02 (diff) |
Merge pull request #34571 from rcorre/array_returns
Be more specific about array return values.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Array.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index e09c1f4b08..2d330fc935 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -93,7 +93,7 @@ <return type="Variant"> </return> <description> - Returns the last element of the array if the array is not empty. + Returns the last element of the array, or [code]null[/code] if the array is empty. </description> </method> <method name="bsearch"> @@ -186,7 +186,7 @@ <return type="Variant"> </return> <description> - Returns the first element of the array if the array is not empty. + Returns the first element of the array, or [code]null[/code] if the array is empty. </description> </method> <method name="has"> @@ -243,14 +243,14 @@ <return type="Variant"> </return> <description> - Removes the last element of the array. + Removes and returns the last element of the array. Returns [code]null[/code] if the array is empty. </description> </method> <method name="pop_front"> <return type="Variant"> </return> <description> - Removes the first element of the array. + Removes and returns the first element of the array. Returns [code]null[/code] if the array is empty. </description> </method> <method name="push_back"> |