Almost the same, but not the same :) `Unit` is a t...
# android
o
Almost the same, but not the same :)
Unit
is a type with only single possible value (which is Unit itself, since it is an
object
), it is
Any
, it takes part in type inference and otherwise is normal type, not something special. Of course, kotlinc does optimizations and do not push/pop instances when not needed.