peekNextEvent

abstract fun peekNextEvent(): EventType?

Peek the next event only (this doesn't give access to the peeked information).

Return

The eventType if it exists, or null if there is no next event.