Creates a slice of array with n elements taken from the beginning.
The array to query.
Optional
The number of elements to take.
Returns the slice of array.
Generated using TypeDoc
Creates a slice of array with n elements taken from the beginning.