Skip to content

Instantly share code, notes, and snippets.

@MarcinMoskala
Created March 3, 2019 11:55
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 MarcinMoskala/cc7811e803fd90448ccc2942b2d83ecf to your computer and use it in GitHub Desktop.
Save MarcinMoskala/cc7811e803fd90448ccc2942b2d83ecf to your computer and use it in GitHub Desktop.
fun printTextOrNull(text: String?) {
print(text)
}
fun main() {
printTextOrNull("AAA")
printTextOrNull(null)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment