@codeparticle/formal
Version:
A <2kb library for validating data of any kind
14 lines (11 loc) • 356 B
TypeScript
import { ValidationRule } from '../types/index.js';
/**
* @file checks to make sure that an email address has a valid format
* @author Nick Krause
*/
/**
* Check to ensure that an email address is in a valid format.
* Does NOT check that the email is a valid, in-use address.
*/
declare const isValidEmail: ValidationRule;
export { isValidEmail };