any.any

Returns true if and only if the input range range is non-empty and _any value found in range satisfies the predicate pred. Performs (at most) O(range.length) evaluations of pred.

template any(alias pred = "a")
bool
any
(
Range
)
(
Range range
)
if (
isInputRange!Range &&
(
__traits(isTemplate, pred) ||
is(typeof(unaryFun!pred(range.front)))
)
)

Meta