opto.trace.nodes.Node.eq

Contents

opto.trace.nodes.Node.eq#

Node.eq(other)[source]#

Check if the node is equal to another value.

Parameters:

other – The value to compare the node to.

Returns:

A node containing the comparison result.

Return type:

Node

Notes

If a logic operator is used in an if-statement, it will return a boolean value. Otherwise, it will return a MessageNode.