ddash.range

Contains range utilities

Functions:

ModuleFunctionsPropertiesDescription
$(DDOX_NAMED_REF ddash.range.chunk, `chunk`)$(DDOX_NAMED_REF range.chunk.chunk, `chunk`)Creates an array of elements split into groups the length of size.
$(DDOX_NAMED_REF ddash.range.drop, `drop`)$(DDOX_NAMED_REF range.drop.drop, `drop`)<br> $(DDOX_NAMED_REF range.drop.dropRight, `dropRight`)<br> $(DDOX_NAMED_REF range.drop.dropWhile, `dropWhile`)<br> $(DDOX_NAMED_REF range.drop.dropRightWhile, `dropRightWhile`)<br>Drops elements from a range
$(DDOX_NAMED_REF ddash.range.front, `front`)$(DDOX_NAMED_REF range.front.frontOr, `frontOr`)<br> $(DDOX_NAMED_REF range.front.withFront, `withFront`)<br> $(DDOX_NAMED_REF range.front.maybeFront, `maybeFront`)<br>Operates on the front of a range.
$(DDOX_NAMED_REF ddash.range.back, `back`)$(DDOX_NAMED_REF range.back.backOr, `backOr`)<br> $(DDOX_NAMED_REF range.back.withBack, `withBack`)<br> $(DDOX_NAMED_REF range.back.maybeBack, `maybeBack`)<br>Operated on the back of a range.
$(DDOX_NAMED_REF ddash.range.nth, `nth`)$(DDOX_NAMED_REF range.nth.nth, `nth`)<br> $(DDOX_NAMED_REF range.nth.first, `first`)<br> $(DDOX_NAMED_REF range.nth.last, `last`)<br>Returns the element at nth index of range
$(DDOX_NAMED_REF ddash.range.slicing, `slicing`)$(DDOX_NAMED_REF range.slicing.slice, `slice`)<br> $(DDOX_NAMED_REF range.slicing.tail, `tail`)<br> $(DDOX_NAMED_REF range.slicing.initial, `initial`)<br>Creates a slice of a range

Modules

back
module ddash.range.back

Provides methods for accessing the back of a range

chunk
module ddash.range.chunk

Creates a range consisting of chunks of another range

drop
module ddash.range.drop

Drops elements from a range

front
module ddash.range.front

Provides methods for accessing the front of a range

nth
module ddash.range.nth

Gets the element at index n of a range

slicing
module ddash.range.slicing

Returns a slice of a range

Meta