asRange

Converts the given stream to a range. Input streams are converted to input ranges, and output streams are converted to output ranges.

asRange
(
S
E = StreamType!S
)
(
ref S stream
)

Parameters

stream S

The stream to convert.

Return Value

Type: auto

A range that wraps the given stream.

Meta