Why are Iterator.hasNext() and Iterator.next() dec...
# getting-started
t
Why are Iterator.hasNext() and Iterator.next() declared as operator functions? In kotlinlang.org/docs/reference/operator-overloading.html they aren’t mentioned. Same for Iterable.iterator