Instance Method

hasSuffix(_:)

Required. Default implementation provided.

Declaration

func hasSuffix(_ prefix: String) -> Bool

Default Implementations

StringProtocol Implementations

func hasSuffix<Suffix>(Suffix) -> Bool

Returns a Boolean value indicating whether the string ends with the specified suffix.