karelpeeters
03/04/2018, 3:23 PMmore values are of typeBut less values are of typecompared toAnyString
(Any) -> Unit then of (String) -> Unit, so the former is more specific.Andreas Sinz
03/04/2018, 3:31 PMT vs Any not String vs AnyAndreas Sinz
03/04/2018, 3:31 PMAndreas Sinz
03/04/2018, 3:32 PMAny is less specific compared to String when you look at the possible values it can hold. On the other hand Any is more specific compared to String when you look at the possible operations you can do with themkarelpeeters
03/04/2018, 3:34 PMaraqnid
03/05/2018, 12:07 PM