4 ms·
Though this isn't precisely typed: let dict = ["a":[1],"b":["c"]] print(type(of:dict["a"])) = Optional<Array<Any>>
by astrange 5y ago
Though this isn't precisely typed:
let dict = ["a":[1],"b":["c"]]
print(type(of:dict["a"]))
=
Optional<Array<Any>>