Appearance
Function: array_slice()
array_slice<
T>(array,offset,length?):T[]
Defined in: src/php-arrays.ts:103
Extract a slice of the array.
Type Parameters
T
T
Parameters
array
T[]
The source array
offset
number
The starting offset
length?
number
The length of the slice
Returns
T[]
The sliced portion of the array