Merge pull request #5879 from gau-veldt/subarray_patch

Subarray patch
This commit is contained in:
Juan Linietsky 2016-09-10 12:22:31 -03:00 committed by GitHub
commit 6abd1437cd
3 changed files with 41 additions and 0 deletions

View file

@ -31364,6 +31364,17 @@
Return the size of the array.
</description>
</method>
<method name="subarray">
<return type="RawArray">
</return>
<argument index="0" name="from" type="int">
</argument>
<argument index="1" name="to" type="int">
</argument>
<description>
Returns the slice of the [RawArray] between indices (inclusive) as a new [RawArray]. Any negative index is considered to be from the end of the array.
</description>
</method>
</methods>
<constants>
</constants>