is_valid library

Properties

postcodeRegex RegExp
final
spaceRegex RegExp
final

Functions

isValid(String postcode) bool
Returns postcode if is valid, value boolean.
sanitize(String string) String
Returns string remove space in string and return value Upper Case.