<mrdocs/Support/Handlebars.hpp>
dom::Value
select_fn(
dom::Value const& condition,
dom::Value const& result_true,
dom::Value const& result_false);
The "select" helper returns the second argument if the first argument is truthy, and the third argument otherwise.
Name | Description |
---|---|
condition | A variant container for any kind of Dom value. |
result_true | A variant container for any kind of Dom value. |
result_false | A variant container for any kind of Dom value. |