{#if isExpandable}
{:else}
{/if}
{variable.name}
=
{#if hasChildren && expanded}
{variable.type === 'object' || variable.value.startsWith('{') ? '{' : '['}
{:else}
{formatValue(variable.value, variable.type)}
{/if}
{#if variable.type && !hasChildren}
({variable.type})
{/if}
{#if expanded && hasChildren}
{#if children.length === 0 && loaded}
No properties
{:else}
{#each children as child (child.name)}
{/each}
{/if}
{variable.type === 'object' || variable.value.startsWith('{') ? '}' : ']'}
{/if}