UNPKG

cerceis-lib

Version:

Contains list of quality of life functions that is written in TypeScript and es6

11 lines (10 loc) 386 B
export const localeEng = { min: (min: string):string => `Min ${min}`, max: (max: string):string => `Max ${max}`, isEmail: "Invalid Email", required: "Required", alphanumeric: "Value needs to be alphanumeric ( 0~9, a~Z )", noSpecials: "Must not contain special symbols (!@$%...etc)", isUUIDv4: "Value needs to be an v4 UUID", isSameAs: "Value not same" }