fix(engine): 🚸 Greater than / Less than
This commit is contained in:
@ -110,10 +110,10 @@ const executeComparison =
|
|||||||
return inputValue !== value
|
return inputValue !== value
|
||||||
}
|
}
|
||||||
case ComparisonOperators.GREATER: {
|
case ComparisonOperators.GREATER: {
|
||||||
return parseFloat(inputValue) >= parseFloat(value)
|
return parseFloat(inputValue) > parseFloat(value)
|
||||||
}
|
}
|
||||||
case ComparisonOperators.LESS: {
|
case ComparisonOperators.LESS: {
|
||||||
return parseFloat(inputValue) <= parseFloat(value)
|
return parseFloat(inputValue) < parseFloat(value)
|
||||||
}
|
}
|
||||||
case ComparisonOperators.IS_SET: {
|
case ComparisonOperators.IS_SET: {
|
||||||
return isDefined(inputValue) && inputValue.length > 0
|
return isDefined(inputValue) && inputValue.length > 0
|
||||||
|
Reference in New Issue
Block a user