Function

filter

Returns all the nodes matching the given matcher.

filter

Source set: Common
public fun SemanticsNodeInteractionCollection.filter(
    matcher: SemanticsMatcher
): SemanticsNodeInteractionCollection

Returns all the nodes matching the given matcher.

Parameters

matcher Matcher to use for the filtering.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: