Documentation Language: Swift

Function

emptyIterator()

Returns an iterator that never yields a value.

func emptyIterator<T>() -> AnyIterator<T>

Discussion

Use this helper when an API should return an iterator even though the underlying libxml2 pointer chain is absent.

See Also

Supporting Helpers

F
emptySequence()

Returns an empty sequence for the requested element type.