Function

hasAnySibling

Returns whether the node has at least one sibling that satisfies the given matcher.

Source set: Common

Added in 1.11.0-rc01

fun hasAnySibling(matcher: SemanticsMatcher): SemanticsMatcher

Returns whether the node has at least one sibling that satisfies the given matcher.

Sibling is defined as a any other node that shares the same parent.