Compare#

Outputs the truth value of a comparison operation. Tuples are compared in lexicographic order. If one input is an array and the other is a scaler, the scaler will be broadcast to the size of the array

Installation#

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs#

Name

Type

Description

Default

a

any

Input A

b

any

Input B

Operation (operation)

token

The comparison operation to perform (>,<,>=,<=,==,!=))

>

Outputs#

Name

Type

Description

Default

Result (result)

bool, bool[]

The result of the comparison operation