From 757c509437720b50056bd67f8d4e463c38c5b13e Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Tue, 16 Jul 2019 18:31:58 -0700 Subject: Add array slice method --- doc/classes/Array.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc') diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index 130908b842..45d40cccea 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -124,6 +124,21 @@ [b]Note:[/b] Calling [method bsearch] on an unsorted array results in unexpected behavior. + + + + + + + + + + + + + Duplicates the subset described in the function and returns it in an array, deeply copying the array if [code]deep[/code] is true. Lower and upper index are inclusive, with the [code]step[/code] describing the change between indices while slicing. + + Clears the array. This is equivalent to using [method resize] with a size of [code]0[/code]. -- cgit v1.2.3