ass="ref-description">
    <p>This is a minimal wrapper around <code>tf$cond()</code> that allows you to supply
<code>true_fn</code> and <code>false_fn</code> as lambda functions defined using the tilde <code><a href='https://rdrr.io/r/base/tilde.html'>~</a></code>.</p>
    </div>

    <pre class="usage"><span class='fu'>tf_cond</span><span class='op'>(</span><span class='va'>pred</span>, <span class='va'>true_fn</span>, <span class='va'>false_fn</span>, name <span class='op'>=</span> <span class='cn'>NULL<