hasAnyChild

Matches a component with at least one direct child satisfying matcher.

Return

a matcher whose description names this condition.

Parameters

matcher

applied to each direct child in turn; hasAnyDescendant reaches deeper.