Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DomUtils.removeSubsets

Given an array of nodes, remove any member that is contained by another.

function removeSubsets(nodes: Node[]): Node[];
§
removeSubsets(nodes: Node[]): Node[]
[src]

§Parameters

§
nodes: Node[]
[src]

Nodes to filter.

§Return Type

§

Remaining nodes that aren't subtrees of each other.