@companion-module/base
    Preparing search index...

    Function FixupBooleanOrVariablesValueToExpressions

    • Helper to fix up values which could be a boolean, number, or a string of variables into the new expression format. Numbers are coerced to booleans (0 = false, non-zero = true). The string literals "true" and "false" (case-insensitive) are also coerced to booleans.

      Parameters

      Returns ExpressionOrValue<(JsonValue | undefined)> | undefined

      The fixed up value, or the original value if it did not need to be changed