getData Method

Returns a data string that was stored in the node under dataName.

getData(dataName);

 

Parameter

Description

dataName

The data name stored in the node

Return Value

Returns the data string that was previously stored in the node. If the data does not exist, the return value is undefined.