You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/js/samples/if-block-complex/input.svelte

10 lines
135 B

<script>
let item = {
divider: [1]
}
</script>
{#if (item.divider && item.divider.includes(1))}
<div class="divider"></div>
{/if}