node_type

reactions.node_type()

Get the node type as a string (decay, reaction or element)

Parameters

obj (node) – input node

Returns

node type as a string

Return type

str

Raises

TypeError – if the input object is not a node object.