anyElement function

Matcher anyElement (dynamic matcher)

Returns a matcher which matches Iterables in which at least one element matches the given matcher.

Implementation

Matcher anyElement(matcher) => _AnyElement(wrapMatcher(matcher));