Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
expect
inline fun <T> expect(expected: T, block: () -> T): Unit
(source)
Asserts that given function block returns the given expected value.
Asserts that given function block returns the given expected value and use the given message if it fails.