String

extension String

String + Array + Collection + Error + TimeInterval + UIColor + UIDevice + UIImage + UIView + Double + UserDefaults + CALayer + UIWindow + UIFont

  • Undocumented

    Declaration

    Swift

    func isBlank() -> Bool
  • Undocumented

    Declaration

    Swift

    func isAlphanumeric() -> Bool
  • Undocumented

    Declaration

    Swift

    private func matches(pattern: String) -> Bool
  • Undocumented

    Declaration

    Swift

    func isValidURL() -> Bool
  • Undocumented

    Declaration

    Swift

    func isValidPassword() -> Bool
  • Undocumented

    Declaration

    Swift

    func isValidPhone() -> Bool
  • Validate email

    Declaration

    Swift

    func isValidEmail() -> Bool

    Return Value

    A Boolean value indicating whether an email is valid.