hasMoreChildren
Deprecated (with error)
Use an explicit iterator()
Returns true
if more children can be retrieved by nextChild. false
otherwise
Migration Examples:
Using decodeRethrowing
:
structure.decodeRethrowing {
if (hasNext()) {
// ...
}
DecodedStructure(...)
}
Content copied to clipboard
Manual iteration:
val iterator = structure.iterator()
if (iterator.hasNext()) {
// ...
}
Content copied to clipboard