There is no duck-typing in kotlin so you can't hav...
# announcements
a
There is no duck-typing in kotlin so you can't have an extension method based only on a class containing a method You can only extend existing types However usually a class that has iterator will/should implement Iterable I would say