onegpy.solutions.node.node_equal¶
-
onegpy.solutions.node.node_equal(node_a, node_b, as_tree=False)[source]¶ Function for comparing two nodes. :param node_a: Node object :param node_b: Node object :param as_tree: If False, compare the nodes based the node’s type and the function id,
otherwise based on their tree structures as well as the node’s type and the function id.Returns: bool