Last active
April 21, 2019 15:49
-
-
Save gonzula/1b83b778b55be487e888e82213e5b227 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func send(_ message: String, to email: String) { | |
guard email.isValidEmailAddress else {return} | |
// code that sends email | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment