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

getDocument

Gets the document for the given target or the global document if no target is provided.

function getDocument(target?:
| Element
| Window
| Node
| Document
| null
): Document;
§
getDocument(target?: Element | Window | Node | Document | null): Document
[src]

§Parameters

§
target?: Element | Window | Node | Document | null optional
[src]

§Return Type

§
Document
[src]