`Any` is not `Nothing`, the reverse is true though...
# announcements
a
Any
is not
Nothing
, the reverse is true though.
Nothing
is a subtype for all other types but there are no instances of it. That’s why you can return
TODO()
from any function. There is only one instance of
Nothing?
which is
null
. So for example an empty list object could return
Nothing?
from it’s getters to indicate that it will never return anything but null