whileFalse

infix inline fun Predicate.whileFalse(code: Block)

evaluates the supplied code block as long as the receiver predicate evaluates to false.

Parameters

<receiver>

Predicate

code

block of code to execute while the predicate evaluates to false