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

DomUtils.testElement

function testElement(options: TestElementOpts, node: Node): boolean;
§
testElement(options: TestElementOpts, node: Node): boolean
[src]

§Parameters

§
options: TestElementOpts
[src]

An object describing nodes to look for.

§
node: Node
[src]

The element to test.

§Return Type

§
boolean
[src]

Whether the element matches the description in options.