assert

external fun assert(value: Any?)(source)
external fun assert(value: Any?, message: String = definedExternally)(source)
external fun assert(value: Any?, message: JsError = definedExternally)(source)

An alias of {@link ok}.

Since

v0.5.9

Parameters

value

The input that is checked for being truthy.