interface MutateIfFloat
import { type MutateIfFloat } from ".";

Choose one value or another based on a comparison of two float values.

The two floats are specified by Value and the operator to be used e.g. >= if the comparison was to be greater than or equal. If the condition is true the Then value is used, else the Else condition is used.

Valid operators are: ==, >=, >, <=, <

Examples

{
    "Mutate": "IfFloat",
    "Value": {"Mutate": "ResuppliesCalled"},
    "<": 2,
    "Then": 40,
    "Else": 80
}

Type Parameters

Properties