Skip to content

Instantly share code, notes, and snippets.

@Ayeeta
Created August 3, 2020 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ayeeta/6d4f757ae22b06fe2a4c98d855c43248 to your computer and use it in GitHub Desktop.
Save Ayeeta/6d4f757ae22b06fe2a4c98d855c43248 to your computer and use it in GitHub Desktop.
About nulls in kotlin
var nullable : String? = null
println(nullable?.length)
var notNullableExample : String = "something"!!
println(notNullableExample)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment