Newbee warning.
Can I make a map with a string key and "anything" as a value? The goal is to have a map of configuration data. This data can be either a single string (or boolean value or integer, but restricting this to a string is fine), or it can be an array of strings. Example: I'd like to store these items:
levels = 3
extra-directories = ["foo","bar","baz"]
The first option is always a single value (a string would be OK for me). The second option is zero or more values.
The goal is to have a single map where I can store these values and when looking at the map, I could use switch x.(type)
to find out what the value is.