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

DomUtils.findAll

Search and array of nodes and its children for nodes passing a test function.

Same as find, only with less options, leading to reduced complexity.

function findAll(test: (elem: Element) => boolean, nodes: Node[]): Element[];
§
findAll(test: (elem: Element) => boolean, nodes: Node[]): Element[]
[src]

§Parameters

§
test: (elem: Element) => boolean
[src]

Function to test nodes on.

§
nodes: Node[]
[src]

Array of nodes to search.

§Return Type

§

All nodes passing test.