bool allowsElement(
Element element
)

Returns true if the tagName is an accepted type.

Source

/**
 * Returns true if the tagName is an accepted type.
 */
bool allowsElement(Element element);