Skip to content

Comparison Map

Data Type.

Either a singular or an Array of an Object with both a comparison field and a compare_to field.

Inner Fields:

Field Type Default Description
comparison Comparison How the value should be compared.
compare_to A Float or Integer depending on the type of value being compared to. The value that is compared.

Examples:

[
    {
        "comparison": ">",
        "compare_to": 2
    },
    {
        "comparison": "<",
        "compare_to": 10
    }
]
This example checks for if a value is greater than 2 and less than 10.