clean
fun String.clean(): String
Remove trailing and double whitespaces.
isPersonName
fun String.isPersonName(): Boolean
User's name must be at least 2 words.
orNull
fun String.orNull(): String?
Reversed version of String.orEmpty.