testInputRange

Takes an InputRange as input and verifies that it can be iterated following protocol.

void
testInputRange
(
R
)
(
R r
)
if (
isInputRange!R
)

Parameters

r R

is an InputRange

Examples

testInputRange(asInputRange("betty"));

Meta