Package-level declarations

Functions

Link copied to clipboard
inline fun <T : Throwable> checkThrows(block: () -> Any?): T

Verifies that block throws an exception of type T.

Link copied to clipboard
infix fun String?.matches(regex: String): Boolean

Verifies that the current string matches the specified regex.