Module ddash.range

Contains range utilities

Functions

Module Functions Properties Description
chunk chunk Creates an array of elements split into groups the length of size.
drop drop
dropRight
dropWhile
dropRightWhile
Drops elements from a range
front frontOr
frontOrThrow
withFront
maybeFront
Operates on the front of a range.
back backOr
withBack
maybeBack
Operated on the back of a range.
nth nth
first
last
Returns the element at nth index of range
slicing slice
tail
initial
Creates a slice of a range