mrdocs::helpers::increment_fn

"increment" helper function

Synopsis

Declared in <mrdocs/Support/Handlebars.hpp>

dom::Value
increment_fn(dom::Value const& value);

Description

The "increment" helper adds 1 to the value if it's an integer and converts booleans to true. Other values are returned as‐is.

Return Value

A variant container for any kind of Dom value.

Parameters

Name Description

value

A variant container for any kind of Dom value.

Created with MrDocs