Array.slice

struct Array
@nogc nothrow const
slice
(
size_t start
,
size_t end
,
size_t stride = 1
,
bool deep = false
)

Return Value

Type: Array

a new Array containing a slice of the original. It is a copy, *not* a reference to the original Array's memory.

Note: end is non-inclusive, as in D slice operations, not as in Godot.

Meta