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

DomUtils.getName

Get the tag name of an element.

function getName(elem: Element): string;
§
getName(elem: Element): string
[src]

§Parameters

§

The element to get the name for.

§Return Type

§
string
[src]

The tag name of elem.