Here's an example of what I'm trying to do:
val ex = List[String]("a", "b", "c") typePrinter(ex) //prints out "List[String]"
Is this possible in Scala? The standard .getClass doesnt seem to work here. Thanks!
.getClass
Aucun commentaire:
Enregistrer un commentaire