StringValidators extension Null safety

An extension on String to provide convenience getters and methods for validation.

on

Properties

containsNoSpaces bool
read-only
containsOneDigit bool
read-only
containsOneLowercase bool
read-only
containsOneSpecial bool
read-only
containsOneUppercase bool
read-only
isValidEmail bool
Validates an email
read-only
isValidPairingCodeFormat bool
Valid pairing code contains uppercase letters and digits, with a length of 6
read-only
isValidUsername bool
Validates a user name. [...]
read-only

Methods

isOfMinimumLength(int length) bool
Checks if this is of minimum length.