assertk / Assert / assertThat

assertThat

abstract fun <R> assertThat(actual: R, name: String? = this.name): Assert<R>

Platform and version requirements: Common

Asserts on the given value with an optional name.

assertThat(true, name = "true").isTrue()