Merge pull request #52425 from HaSa1002/doc-slice-invalid-end
Specify description of `Array.slice`s end parameter
This commit is contained in:
commit
0cb22ff0a3
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue