`val email: String = "".takeIf { it.contains("@") ...
# getting-started
n
val email: String = "".takeIf { it.contains("@") }.toString()
should work