kotest-assertions-core / io.kotest.matchers / beOfType

beOfType

fun beOfType(expected: KClass<*>): Matcher<Any?>
fun <reified T : Any> beOfType(): Matcher<Any?>