mrdocs::isEmpty
Determine if a value is empty
Synopsis
Declared in <mrdocs/Support/Handlebars.hpp>
bool
isEmpty(dom::Value const& arg);
Description
This is used by the built‐in if and with helpers to control their execution flow.
The Handlebars definition of empty is any of:
‐ Array with length 0 ‐ falsy values other than 0
This is intended to match the Mustache Behaviour.
See Also
https://mustache.github.io/mustache.5.html#Sections
Created with MrDocs