I have a declaration..
var cabResults = Dictionary<CabType, [CabResult]>()
Now I want to check if the object is present in the dictionary for a particular key.. which can be don by
if self.cabResults[currentCabType] != nil
Now I also want to check if the object returned by self.cabResults[currentCabType] is of type [CabResult]
How can I get this..?
if varName is Array<CabResult>{...}