@lesjoursfr/browser-tools
    Preparing search index...

    Function removeNodesRecursively

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

      Parameters

      • node: ChildNode

        the node to process

      • callbackFn: (node: ChildNode) => boolean

        the predicate

      Returns void