Given zero or more step functions and a condition function `condition` (a function of no arguments), evaluate the step functions whenever `condition` returns `False`.
(cond, *step_funcs)
| 5486 | |
| 5487 | |
| 5488 | def when_false(cond, *step_funcs): |
| 5489 | """ |
| 5490 | Given zero or more step functions and a condition function `condition` (a function of |
| 5491 | no arguments), evaluate the step functions whenever `condition` returns `False`. |
| 5492 | """ |
| 5493 | return _when_true_funcs(lambda: not cond, *step_funcs) |
| 5494 | |
| 5495 | |
| 5496 | def with_prefix(pre, *step_funcs): |
nothing calls this directly
no test coverage detected