invariant

external fun invariant(value: Boolean, message: String = definedExternally)(source)
external fun <T> invariant(value: T?, message: String = definedExternally)(source)