Function removeNodes

  • Remove all node's child nodes that pass the test implemented by the provided function.

    Parameters

    • node: ChildNode

      the node to process

    • callbackFn: ((node) => boolean)

      the predicate

        • (node): boolean
        • Parameters

          • node: ChildNode

          Returns boolean

    Returns void

Generated using TypeDoc