It's used to “bypass” the null safety in Kotlin. U...
# getting-started
s
It's used to “bypass” the null safety in Kotlin. Use it only if you have a nullable type and you're sure that your variable is not null at the time:
Copy code
var lastName: String? = "Rudolf"
lastName!!.length // would throw if lastName was indeed null.