ifpublic
Defined in packages/ember-htmlbars/lib/helpers/if_unless.js:9
Use the if block helper to conditionally render a block depending on a property. If the property is "falsey", for example: false, undefined, null, "", 0, NaN or an empty array, the block will not be rendered. {{! will not render if foo is falsey}}
{{#if foo}}
Welcome to the {{foo.bar}}
{{/if}}
You can also specify a template to show if the property is falsey by using the else helper. {{! is it raining outside?}}
{{#if