stick
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
stick
stick-core
/
com.zombachu.stick.structure
/
requirement
requirement
@
JvmName
(
name
=
"requirement"
)
fun
<
S
>
SenderScope
<
S
>
.
requirement
(
validate
:
(
S
)
->
Result
<
Unit
>
)
:
Requirement
<
S
>
@
JvmName
(
name
=
"requirementBoolean"
)
fun
<
S
>
SenderScope
<
S
>
.
requirement
(
failureResult
:
Result
<
Unit
>
=
SenderValidationResult.failSender()
,
validate
:
(
S
)
->
Boolean
)
:
Requirement
<
S
>