Function: isVoidElement()

Estimated reading time: less than 1 minute
function isVoidElement(this, tag): boolean

Returns true if the element is a html void element.

Parameters

this

void

tag

string

The name of the element to check.

Returns

boolean

If the element is a html void element.