Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SCALA

find the type of varaible in scala

var.getClass.getSimpleName

// for repl
:type var
 
PREVIOUS NEXT
Tagged: #find #type #varaible #scala
ADD COMMENT
Topic
Name
4+2 =