isEmail

fun String.isEmail(): Boolean

Checks if string is valid email address.

This is just a basic checking, please use Apache Validator for more complex cases.

Sources

Katlib source
Link copied to clipboard