@stacksjs/ts-validation
Version:
A simple TypeScript starter kit using Bun.
9 lines • 304 B
TypeScript
/**
* Check if the string is PostalCode
*
* @param str - The string to check
* @param locale - Options object
* @returns True if the string matches the validation, false otherwise
*/
export declare function isPostalCode(str: string, locale: string): boolean;
export declare const locales: string[];