outcome
Toggle table of contents
0.3.0
jvm
Platform filter
jvm
Switch theme
Search in API
outcome
outcome
/
nz.adjmunro.outcome.raise
/
RaiseScope
/
Companion
/
ensure
ensure
inline
fun
<
Error
:
Any
>
RaiseScope
<
Error
>
.
ensure
(
condition
:
Boolean
,
raise
:
(
)
->
Error
)
Ensures that the given
condition
is true, otherwise
raises
an
Error
.