summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2021-09-07 18:21:48 +0200
committerGitHub <noreply@github.com>2021-09-07 18:21:48 +0200
commit0cb22ff0a3a722d9363a8fe7cded5bdffc38d33c (patch)
treebbc44c226f454595e70e1b839dff2c821a16acb4
parent93aa158b5e1b3b11c3482834504e791c3898baf0 (diff)
parent48a8a59ad7f8b6cb309b1e605c228dd538cafc0f (diff)
Merge pull request #52425 from HaSa1002/doc-slice-invalid-end
Specify description of `Array.slice`s end parameter
-rw-r--r--doc/classes/Array.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml
index 396490c8eb..02c6b18d55 100644
--- a/doc/classes/Array.xml
+++ b/doc/classes/Array.xml
@@ -495,7 +495,7 @@
<argument index="2" name="step" type="int" default="1" />
<argument index="3" name="deep" type="bool" default="false" />
<description>
- Duplicates the subset described in the function and returns it in an array, deeply copying the array if [code]deep[/code] is [code]true[/code]. Lower and upper index are inclusive, with the [code]step[/code] describing the change between indices while slicing.
+ Duplicates the subset described in the function and returns it in an array, deeply copying the array if [code]deep[/code] is [code]true[/code]. Lower and upper index are inclusive, with the [code]step[/code] describing the change between indices while slicing. If [code]end[/code] is an invalid value, the end of the array is used.
</description>
</method>
<method name="sort">