Skip to content

Instantly share code, notes, and snippets.

@romicofre
Created February 22, 2021 15:03
Show Gist options
  • Save romicofre/20f7657187f15109cb4712ab72cdb0b8 to your computer and use it in GitHub Desktop.
Save romicofre/20f7657187f15109cb4712ab72cdb0b8 to your computer and use it in GitHub Desktop.
Get variable class (get type scala)
println(1.getClass)
println("Hello").getClass
println(println("Hello").getClass)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment