Class Comparison
Compares two inputs.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Logic", 99)]
[Obsolete("Use the new reflected logic operators instead.")]
public sealed class Comparison : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
a
The first input.
Declaration
[DoNotSerialize]
public ValueInput a { get; }
Property Value
Type | Description |
---|---|
ValueInput |
aEqualToB
Whether A is equal to B.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A = B")]
public ValueOutput aEqualToB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
aGreaterThanOrEqualToB
Whether A is greater than or equal to B.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A ≥ B")]
public ValueOutput aGreaterThanOrEqualToB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
aGreatherThanB
Whether A is greater than B.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A > B")]
public ValueOutput aGreatherThanB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
aLessThanB
Whether A is less than B.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A < B")]
public ValueOutput aLessThanB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
aLessThanOrEqualToB
Whether A is less than or equal to B.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A ≤ B")]
public ValueOutput aLessThanOrEqualToB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
aNotEqualToB
Whether A is not equal to B.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A ≠ B")]
public ValueOutput aNotEqualToB { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
b
The second input.
Declaration
[DoNotSerialize]
public ValueInput b { get; }
Property Value
Type | Description |
---|---|
ValueInput |
numeric
Whether the compared inputs are numbers.
Declaration
[Serialize]
[Inspectable]
public bool numeric { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()