flatten

Flattens a range one level deep by removing anything that's empty

flatten
(
Range
)
(
Range range
)
if (
from!"std.range".isInputRange!Range
)

Parameters

range
Type: Range

an input range

Return Value

Type: auto

A flattened range

Meta

Since

0.0.1