Similar to Switch() but execute the steps for which the condition is False.
(name, *conditions)
| 513 | |
| 514 | |
| 515 | def SwitchNot(name, *conditions): |
| 516 | """ |
| 517 | Similar to Switch() but execute the steps for which the condition is False. |
| 518 | """ |
| 519 | conditions = _MakeList(conditions) |
| 520 | return core.scoped_execution_step( |
| 521 | _get_next_step_name('SwitchNot', name), |
| 522 | [_RunOnceIfNot(name + '/SwitchNot', cond, step) |
| 523 | for cond, step in conditions]) |
| 524 | |
| 525 | |
| 526 | def If(name, condition_blob_or_net, |
nothing calls this directly
no test coverage detected
searching dependent graphs…