Node.typeName

string typeName()

Retrieves the user readable name of the data type contained by node.

Note: The name is only meant for debugging purposes, and there is no

guarantee the name will stay the same across different versions.

Returns

a string containing the name of the type