DoxygenXmlParser.isInnerElementText() method
Determines whether a named inner element contains text.
Signature
isInnerElementText(element: object, name: string): boolean;
Parameters
Parameter |
Type |
Description |
---|---|---|
element |
object |
The XML element to inspect |
name |
string |
The name of the inner element |
Returns
boolean
True if the inner element contains text or is empty; otherwise, false
Remarks
This method checks if the specified inner element exists and contains a single text node, or is an empty array (representing an empty string). It asserts the expected structure and type of the value for robustness.