The type to be tested.
$(D_KEYWORD true) if R is an input range, $(D_KEYWORD false) otherwise.
static struct Range { void popFront() @nogc nothrow pure @safe { } int front() @nogc nothrow pure @safe { return 0; } bool empty() const @nogc nothrow pure @safe { return true; } } static assert(isInputRange!Range); static assert(isInputRange!(int[])); static assert(!isInputRange!(void[]));
Determines whether R is an input range.
An input range should define following primitives: