swift insert array into set code example Example: turning an arrya into a set swift let mySet = Set(["a", "b", "a"]) // Set<String>