countElements

Counts the number of required elements in a range.

nothrow pure @safe
size_t
countElements
(
R
E
)
(,)
if (
isInputRange!R
)

Parameters

range R

Some input range.

value E

Value to find.

Return Value

Type: size_t

number of required elements.

Meta