Is there a simple way to determine if a variable is a list, dictionary, or something else? Basically I am getting an object back that may be either type and I need to be able to tell the difference.
In Python, we have "Type()", "Typeof()" that
scala> val c: String = "Hello world"
Is there any way to determine : Typeof(c) to print : String