next

fun next(): Boolean

Advances to the next document, and returns whether there is one.

Throws

if the store or the snapshot behind this cursor has been closed.