Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 335 Bytes

isValidEmail.md

File metadata and controls

19 lines (10 loc) · 335 Bytes

isValidEmail

Validates if the value is a valid email.

Arguments

  • email: string: value to be validated

Usage

import { isValidEmail } from '@platformbuilders/validations';

isValidEmail('glauber.castro@platformbuilders'); // return false

isValidEmail('[email protected]'); // return true