The OpenD Programming Language

anySatisfy

Tests whether any given items satisfy a template predicate, i.e. evaluates to F!(T[0]) || F!(T[1]) || ... || F!(T[$ - 1]).

Evaluation is short-circuited if a true result is encountered; the template predicate must be instantiable with one of the given items.

version(StdDdoc)
template anySatisfy (
T...
) {}

Meta