Array.ends() is the same function, but returns elements from front and back, and uses the same parameters.
Array.ends() is the same function, but returns elements from front and back, and uses the same parameters.
−
Get the nth element from the array. SomeCount (default as 1) of elements from the nth index is given. Result is an array.
+
Get the nth element from the array. SomeCount (default as 1) of elements from the nth index is given. Result is an array. IsBothSides (false by default), if true, will give the result from beginning and the end of the array. These parameters can be given as an array to do combinatorial loops.
If the first element is required, use the Array.firstelement() or Array.lastelement().
If the first element is required, use the Array.firstelement() or Array.lastelement().