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.

template sequence(T = Node)
sequence
(
)

Throws

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

Meta