[#mrdocs-isEmpty] = xref:mrdocs.adoc[mrdocs]::isEmpty :relfileprefix: ../ :mrdocs: Determine if a value is empty == Synopsis Declared in `<mrdocs/Support/Handlebars.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isEmpty(xref:mrdocs/dom/Value.adoc[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. == Return Value True if the value is empty, false otherwise == Parameters [cols="1,4"] |=== | Name| Description | *arg* | The value to test |=== == See Also https://mustache.github.io/mustache.5.html#Sections [.small]#Created with https://www.mrdocs.com[MrDocs]#