{#if visible} {#each array as item}
{item}
{/each} {/if} {#if !visible} {:else} {#each array as item}
{item}
{/each} {/if}