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