[android-components](../index.md) / [mozilla.components.support.test](index.md) / [nullable](./nullable.md)

# nullable

`inline fun <reified T> nullable(): `[`T`](nullable.md#T) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/test/src/main/java/mozilla/components/support/test/Matchers.kt#L54)

Mockito matcher that matches anything as nullable.

(The version from Mockito doesn't work correctly with Kotlin code.)

