Gets both the type object and key value for a node
The node to extract type and key from
Object containing the node's type and key
Gets both the type object and key value for a node
Param: node
The node to extract type and key from
Returns
Object containing the node's type and key