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

# isChecked

`fun isChecked(isChecked: `[`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#L28)

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

