DevCore
Toggle table of contents
1.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
DevCore
task-sequence
/
com.peco2282.devcore.tasksequence
/
TaskSequenceBuilder
/
runIf
run
If
suspend
fun
runIf
(
condition
:
(
)
->
Boolean
,
block
:
suspend
TaskSequenceBuilder
.
(
)
->
Unit
)
Runs the
block
if the
condition
is true.
Parameters
condition
The condition to check.
block
The block to execute.