check

inline fun check(value: Boolean)

Throws an SimbotIllegalStateException if the value is false. Like kotlin.check.

See also


inline fun check(value: Boolean, lazyMessage: () -> Any)

Throws an SimbotIllegalStateException with the result of calling lazyMessage if the value is false. Like kotlin.check.

See also