fun <R> assert(actual: R, name: String? = this.name): Assert<R>
Platform and version requirements: Common
Asserts on the given value with an optional name.
assert(true, name = "true").isTrue()