I try to learn Swift. I found a piece of code that when I print it gives that to the console (I simplified here)
var test: [[String: Any]] = [[“key1”: 1.1, “key2”: 2.1, “key3”: “value3.1”]] [[“key1”: “value1.2”, “key2”: “value2.2”, “key3”: “value3.3”]]
I looked at the documentation
I could not find anything like this.
What is it? It seems to me like an array of dictionaries? Where could I find more about it? (I could not find it in the documentation)
What is the right way to connect the two dictionaries? In the console there is nothing between ]] and [[. I tried to put a coma but Playground gives the error “Expected pattern”. I suppose that something is needed to connect the two dictionaries?