Join Slack
Powered by
How come this works? ```val email = "".takeIf { it...
# getting-started
a
appasni
03/17/2017, 5:29 PM
How come this works?
Copy code
val email = "".takeIf { it.contains("@") } val ok: String = email.toString()
Doesn't takeIf return
T?
?
Open in Slack
Previous
Next