Is there a way in Handlebars.js templating to check if the collection or list is null or empty, before going and iterating through the list/collection?
// if lis
Ok it's simpler than I thought:
{{#if items}} // render items {{#each items}} // render item {{/each}} {{else}} // render empty {{/if}}