Node.sequence

Return a range object iterating over a sequence, getting each element as T.

If T is Node, simply iterate over the nodes in the sequence. Otherwise, convert each node to T during iteration.

struct Node
@trusted
sequence
(
T = Node
)
()

Throws

NodeException if the node is not a sequence or an element could not be converted to specified type.

Meta