logitar-validation
Version:
JavaScript validation library distributed by Logitar.
10 lines (9 loc) • 359 B
TypeScript
import type { ValidationRule } from "../types";
/**
* A validation rule that checks if a string is a valid email address.
* @param value The value to validate.
* @param args The regular expression to validate the email address against.
* @returns The result of the validation rule execution.
*/
declare const email: ValidationRule;
export default email;