AbstractCharacterData::getData

The getData() method retrieves the character data stored in the current node.

For example, in a text node, this will return the actual text content.

Description

public AbstractCharacterData::getData(): string

Parameters

None

Return Value

Returns a string representing the character data of the current node.

Exceptions

None

Source Code
If you find this project useful, consider leaving a on GitHub! Thank you!