func test(input: String) -> Bool { let reversed = input.reversed() let inputArray = Array(input) return reversed == inputArray }
I