Closed nyodas closed 8 years ago
{{define "config"}}
{{- if . -}}
{{- range $a,$b := . -}}
{{$a}}:{{if not (isMap $b) }}{{ $b }} {{else}} {{template "config" $b }}{{end}}
{{end}}
{{end}}
{{- end -}}
{{- end -}}
config:
algolia:
indices:
places:
proxy: ~
timeout: ~
appId: "pompompompom"
appKey: "oooooooooooooo"
done in v65
Hi It would be awesome to have a functions capable of returning true or false when the input is tested against a particular type.
ie :