DRAGOPS
DRAGOPS
DocumentationNode libraryComparison

Comparison

Equality, ordering, null checks, range testing, and type checking nodes.

Comparison nodes evaluate relationships between values and output booleans. They are the primary way to produce conditions for Branch, Filter Guard, and While nodes.

All Comparison nodes are pure (blue header, no execution pins).


Equal

Check if two values are equal.

PinDirectionTypeDescription
AInputAnyFirst value
BInputAnySecond value
ResultOutputBooleanTrue if A equals B

Pure. Use Equal to compare strings, numbers, or any two values for equality.


Not Equal

Check if two values are not equal.

PinDirectionTypeDescription
AInputAnyFirst value
BInputAnySecond value
ResultOutputBooleanTrue if A does not equal B

Pure. Use Not Equal to detect changes — a field that differs from its expected value.


Greater Than

Check if A is greater than B.

PinDirectionTypeDescription
AInputFloatFirst value
BInputFloatSecond value
ResultOutputBooleanTrue if A is greater than B

Pure. Use Greater Than for threshold checks — severity scores, response times, or error counts.


Less Than

Check if A is less than B.

PinDirectionTypeDescription
AInputFloatFirst value
BInputFloatSecond value
ResultOutputBooleanTrue if A is less than B

Pure. Use Less Than for lower-bound checks — remaining quota, time until expiry.


Greater or Equal

Check if A is greater than or equal to B.

PinDirectionTypeDescription
AInputFloatFirst value
BInputFloatSecond value
ResultOutputBooleanTrue if A is greater than or equal to B

Pure. Use Greater or Equal for inclusive threshold checks.


Less or Equal

Check if A is less than or equal to B.

PinDirectionTypeDescription
AInputFloatFirst value
BInputFloatSecond value
ResultOutputBooleanTrue if A is less than or equal to B

Pure. Use Less or Equal for inclusive upper-bound checks.


Is Null

Check if a value is null.

PinDirectionTypeDescription
ValueInputAnyThe value to check
ResultOutputBooleanTrue if Value is null

Pure. Use Is Null to guard against missing data before accessing properties or performing operations.


Is Empty

Check if a value is empty. Returns true for empty strings, empty arrays, or null values.

PinDirectionTypeDescription
ValueInputAnyThe value to check
ResultOutputBooleanTrue if Value is empty, null, or a zero-length collection

Pure. Use Is Empty to validate inputs before processing — skip empty responses or missing fields.


In Range

Check if a value falls within a numeric range (inclusive).

PinDirectionTypeDescription
ValueInputFloatThe value to check
MinInputFloatLower bound
MaxInputFloatUpper bound
ResultOutputBooleanTrue if Value is between Min and Max (inclusive)

Pure. Use In Range to test whether a value is within acceptable bounds — valid port numbers, HTTP status code ranges.


Type Is

Check the runtime type of a value.

PinDirectionTypeDescription
ValueInputAnyThe value to check
TypeInputStringExpected type name (e.g., "string", "integer", "object")
ResultOutputBooleanTrue if Value matches the specified type

Pure. Use Type Is to validate dynamic data before performing type-specific operations.


  • Logical — combine comparison results with AND, OR, NOT
  • Flow Control — use comparison results with Branch, Filter Guard, While
  • String — string-specific comparisons like Contains, Starts With, Regex Test

On this page