Skip to content

Instantly share code, notes, and snippets.

Created Apr 11, 2019
What would you like to do?
val a: Int? = 10
val b: Int = 10
val sum = a ?: 0 + b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment