@grouparoo/core
Version:
The Grouparoo Core
6 lines (5 loc) • 320 B
TypeScript
/**
* While there are many more robust ways to validate an email, we have seen our customers use long domains or suffixes to map to internal tools, deactivated users, etc.
* We will only be validating that 1) there is an @ and 2) there is a . after the @.
*/
export default function isEmail(string: string): boolean;