runUnless

suspend fun runUnless(condition: () -> Boolean, block: suspend TaskSequenceBuilder.() -> Unit)

Runs the block if the condition is false.

Parameters

condition

The condition to check.

block

The block to execute.