Get the node type as a string (decay, reaction or element)
n (node) – Node to check
Node type as a string
str
TypeError – If the input object is not a node object.