any

Undocumented in source. Be warned that the author may not have intended to support it.
bool
any
(
alias Func
Range
)
(
Range r
)

Examples

import libd.datastructures : Array;
Array!int array;
array.put(0, 1, 2, 3, 4, 5, 6);
assert(array.range.any!(n => n == 6));
assert(!array.range.any!(n => n > 10));

Meta