removed check for 'hasNext' val in frontend
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
fun <T : Any> T?.iterator() = object {
|
||||
var hasNext = this@iterator != null
|
||||
private set
|
||||
fun hasNext() = hasNext
|
||||
|
||||
fun next() : T {
|
||||
if (hasNext) {
|
||||
|
||||
Reference in New Issue
Block a user