Skip to content

Instantly share code, notes, and snippets.

@JavierCane
Created October 16, 2017 06:16
Show Gist options
  • Save JavierCane/4ae73714922d6eec12f1ee7acd3fc59e to your computer and use it in GitHub Desktop.
Save JavierCane/4ae73714922d6eec12f1ee7acd3fc59e to your computer and use it in GitHub Desktop.
Scala if example
val lele = if ("Codely mola".isInstanceOf[String]) 3 else 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment