This is a function whose return value is simply the F_NodeType of the node.
In the following, if np points at an eventNode, the if condition will evaluate as true.
F_Node *np; ... if (np->returnType() == eventType) ...