StringValidationX extension

Extension on String providing common validation shortcuts.

on

Properties

isCreditCard → bool

Available on String, provided by the StringValidationX extension

Whether this string is a valid credit card number (Luhn).
no setter
isEmail → bool

Available on String, provided by the StringValidationX extension

Whether this string is a valid email address.
no setter
isNumber → bool

Available on String, provided by the StringValidationX extension

Whether this string is a valid numeric value.
no setter
isPhone → bool

Available on String, provided by the StringValidationX extension

Whether this string is a valid phone number.
no setter
isStrongPassword → bool

Available on String, provided by the StringValidationX extension

Whether this string is a strong password.
no setter
isURL → bool

Available on String, provided by the StringValidationX extension

Whether this string is a valid URL.
no setter
isUsername → bool

Available on String, provided by the StringValidationX extension

Whether this string is a valid Arabic or English identifier.
no setter