{{- $curCtx := . -}}
{{- if reflect.IsSlice $curCtx }}
{{- len $curCtx -}}
{{- range $curCtx }}
{{- partial "helpers/debug-tables/debug-helpers/expand-var" (dict "value" .) }}
{{- end }}
{{- else if reflect.IsMap $curCtx }}
{{- len $curCtx -}}
{{- range $key, $value := $curCtx }}
{{- partial "helpers/debug-tables/debug-helpers/expand-var" (dict "key" $key "value" $value) }}
{{- end }}
{{- else -}}
{{- partial "helpers/debug-tables/debug-helpers/expand-var" (dict "value" $curCtx) }}
{{- end }}