Simbot

object Simbot

Author

ForteScarlet

Functions

Link copied to clipboard
inline fun check(value: Boolean)

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

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

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

Link copied to clipboard
inline fun require(value: Boolean)

Throws an SimbotIllegalArgumentException if the value is false.

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

Throws an SimbotIllegalArgumentException with the result of calling lazyMessage if the value is false. Like kotlin.require.