Skip to main content
Apple Developer Docs
Fonts
Symbols
×
Swift
/
StringProtocol
/
hasPrefix(_:)
hasPrefix(_:)
Declaration
func
hasPrefix
(
_
prefix
:
String
) ->
Bool