Class SliceTools
Hierarchy
- SliceTools
Index
Methods
Methods
Static SliceSearch playground for Slice
-
Provides a slice function that will work even on IE
Type parameters
-
T
Parameters
-
data: T
defines the array to slice
-
Optional start: number
defines the start of the data (optional)
-
Optional end: number
defines the end of the data (optional)
Returns T
the new sliced array
-
Static Slice ToArraySearch playground for SliceToArray
-
Provides a slice function that will work even on IE The difference between this and Slice is that this will force-convert to array
Type parameters
-
T
-
P
Parameters
-
data: T
defines the array to slice
-
Optional start: number
defines the start of the data (optional)
-
Optional end: number
defines the end of the data (optional)
Returns Array<P>
the new sliced array
-
Class used to provide helpers for slicing