2018-11-27 10:51:33 +00:00
|
|
|
// Copyright (C) 2018 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
2018-12-26 15:05:33 +00:00
|
|
|
export function validateEmail(email: string) : boolean {
|
|
|
|
const rgx = /.*@.*\..*$/;
|
2018-11-05 15:26:18 +00:00
|
|
|
|
2018-12-26 15:05:33 +00:00
|
|
|
return rgx.test(email);
|
2018-12-18 14:43:23 +00:00
|
|
|
}
|