To find out the type of an expression you may simply do:
scala> :type (1 * 54).toString
String
- Companion:
- object
trait Serializable
trait Product
trait Equals
trait Command
trait ParseResult
class Object
trait Matchable
class Any
To find out the type of an expression you may simply do:
scala> :type (1 * 54).toString
String