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 7f4a1d5 commit b24892bCopy full SHA for b24892b
stdlib/public/core/StringProtocol.swift
@@ -43,7 +43,7 @@ public protocol StringProtocol
43
var unicodeScalars: UnicodeScalarView { get }
44
45
func hasPrefix(_ prefix: String) -> Bool
46
- func hasSuffix(_ prefix: String) -> Bool
+ func hasSuffix(_ suffix: String) -> Bool
47
48
func lowercased() -> String
49
func uppercased() -> String
0 commit comments