seek

inline fun <T : XmlToken> XmlStreamReader.seek(selectionPredicate: (T) -> Boolean = { true }): T?

Seek from the current token onward to find a token of specified type and predication.

Parameters

selectionPredicate

predicate that evaluates nodes of the required type to match