[android-components](../index.md) / [mozilla.components.support.android.test.espresso.matcher](index.md) / [isDisplayed](./is-displayed.md)

# isDisplayed

`fun isDisplayed(isDisplayed: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): Matcher<<ERROR CLASS>>` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/android-test/src/main/java/mozilla/components/support/android/test/espresso/matcher/ViewMatchers.kt#L33)

The existing [espressoIsDisplayed](#) function but uses a boolean to invert rather than requiring the [not](#) matcher.

