Function descendantNodesAndSelf

  • descendantNodesAndSelf<T>(source: Iterable<T>): Iterable<XNode>
  • For the elements contained in the source sequence, returns the concatenated sequences of descendant nodes of such elements, including the elements themselves, in document order.

    Returns

    The concatenated, flat sequence of descendant nodes, including the source elements, in document order

    Type Parameters

    • T extends XContainer<T>

      The type of the elements of the source sequence.

    Parameters

    • source: Iterable<T>

      The source sequence of elements.

    Returns Iterable<XNode>

Generated using TypeDoc