Repository URL to install this package:
|
Version:
2.6.18 ▾
|
/**
* @see https://github.com/chriso/validator.js/blob/master/src/lib/isPostalCode.js
* @see http://formvalidation.io/validators/zipCode/
* @see https://stackoverflow.com/questions/578406/what-is-the-ultimate-postal-code-and-zip-regex
* @note - the conditional branching is intentional
* @see https://gist.github.com/aretecode/9b1765a897554b82da96591372d3c149
*/
declare function isValidZipCode(zipCode: string | number): boolean;
export { isValidZipCode };
export default isValidZipCode;