Devices: Comparison - MatLomax/WireMod GitHub Wiki
Equals
I/O | Num | Type |
---|---|---|
In | 0 | int/string |
In | 1 | int/string |
Out | 0 | bool |
Compares two integers and returns true if both are the same.
Settings
CompareType
Value | Description |
---|---|
int | Compare two integers |
string | Compare two strings |
Notes
Right-Click to toggle CompareType
Less Than
I/O | Num | Type |
---|---|---|
In | 0 | int |
In | 1 | int |
Out | 0 | bool |
Compares two integers and returns true if the first is lesser than the second.
Greater Than
I/O | Num | Type |
---|---|---|
In | 0 | int |
In | 1 | int |
Out | 0 | bool |
Compares two integers and returns true if the first is greater than the second.