You can copy the yaml-code below and use it as frontmatter for an example page.
You can paste this URL into github issues to order to share your setup when filing bugs or questions
Handlebars:
Template
{{#if (isdefined value1)}}true{{else}}false{{/if}}
{{#if (isdefined value2)}}true{{else}}false{{/if}}
Preparation-Script
Handlebars.registerHelper('isdefined', function (value) {
return value !== undefined;
});
Input
{ value1: {} }
Output
true
false