    

 ## On this page

  

 

 # hasNext

 Last update: 16.07.2025 

public [hasNext](has-next.md)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)

Returns true if next() can return another valid variable from this iterator

#### Return

true if more variables are available