UNPKG

lesgo

Version:

Core framework for lesgo node.js serverless framework.

10 lines (9 loc) 313 B
/** * Checks if a given string is a valid email address. * * @param email - The email address to validate. * @returns `true` if the email is valid, `false` otherwise. * @throws {LesgoException} If the `email` parameter is empty. */ declare const isEmail: (email: string) => boolean; export default isEmail;