The iterator function definitely needs to return a...
# getting-started
b
The iterator function definitely needs to return an Iterator instance, there’s no getting around that. Since the function is defined to have a return type of Iterator<MyDate>.