kotest-assertions-core / io.kotest.matchers.reflection / kotlin.reflect.KProperty

Extensions for kotlin.reflect.KProperty

shouldBeConst

fun KProperty<*>.shouldBeConst(): Unit

shouldBeLateInit

fun KProperty<*>.shouldBeLateInit(): Unit

shouldBeOfType

fun <T> KProperty<*>.shouldBeOfType(): Unit

shouldNotBeConst

fun KProperty<*>.shouldNotBeConst(): Unit

shouldNotBeLateInit

fun KProperty<*>.shouldNotBeLateInit(): Unit

shouldNotBeOfType

fun <T> KProperty<*>.shouldNotBeOfType(): Unit