4 ms·
And the Swift version is even automatically typed as containing Strings using generics!
by happytoexplain 5y ago
And the Swift version is even automatically typed as containing Strings using generics!
- astrange 5y agoThough this isn't precisely typed: let dict = ["a":[1],"b":["c"]] print(type(of:dict["a"])) = Optional<Array<Any>>