datadata.compare

Compare Values

Compare two numbers or text values and expose less, equal, and greater results.

Inputs

3
InputValue typeRequirementAccepted sources
Left valueleftLeft value for comparison. Value type: string or number. Use data.length, data.arrayItem, or data.pick first for arrays or objects.anyRequiredliteralnodeOutput
Right valuerightRight value for comparison. Value type: string or number. Use data.length, data.arrayItem, or data.pick first for arrays or objects.anyRequiredliteralnodeOutput
Compare typevalueTypeComparison mode. Use number for numeric order, or string for case-sensitive text order. Arrays and objects are not supported directly.stringOptionalliteral

Outputs

7
Output pathValue typeCoordinate space
data.resultnumber
data.lessbool
data.equalbool
data.greaterbool
data.leftobject
data.rightobject
data.valueTypestring

Runtime support

DesktopSupported
Android AgentSupported