Skip to content

Instantly share code, notes, and snippets.

@uzilan
Last active June 8, 2022 06:51
Show Gist options
  • Save uzilan/7a66f63f60cbdb5fa954a37d13dd7067 to your computer and use it in GitHub Desktop.
Save uzilan/7a66f63f60cbdb5fa954a37d13dd7067 to your computer and use it in GitHub Desktop.
fun letExample() {
val content = openPackage()?.let {
registerAddress(it.address)
it.unpack()
} ?: "nothing in there"
playAroundWith(content)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment