We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e4f2e0 commit 9646535Copy full SHA for 9646535
Palindromes/Palindromes.swift
@@ -1,6 +1,6 @@
1
import Cocoa
2
3
-public func palindromeCheck (text: String?) -> Bool {
+public func palindromeCheck(text: String?) -> Bool {
4
if let text = text {
5
let mutableText = text.trimmingCharacters(in: NSCharacterSet.whitespaces).lowercased()
6
let length: Int = mutableText.characters.count
0 commit comments