The following however fails `val email: String = "...
# getting-started
a
The following however fails
val email: String = "".takeIf { it.contains("@") }
with
Type inference failed. Expected type mismatch: inferred type is String? but String was expected