import{validateString as e}from"./validateString.mjs";const t=(t,n=`Email`,r=6,i=100)=>{let a=e(t,n,r,i);return typeof t==`string`&&!/^[^\s@]+@[^\s@][^\s.@]*\.[^\s@]+$/.test(t)&&a.push(`${n} must be a valid email address.`),a};export{t as validateEmail};
//# sourceMappingURL=validateEmail.mjs.map