mrdocs::helpers::select_fn
"select" helper function
Synopsis
Declared in <mrdocs/Support/Handlebars.hpp>
dom::Value
select_fn(
dom::Value const& condition,
dom::Value const& result_true,
dom::Value const& result_false);
Description
The "select" helper returns the second argument if the first argument is truthy, and the third argument otherwise.
Parameters
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. |
Created with MrDocs