Function transformVars

  • Transforms $var formulas into a different formula using transformation rules. Transformation rules look like:

    {
    "field": <formula>
    }

    This function will transform anything that has { $var: "field" } into <formula>

    Parameters

    • value: any
    • transformations: Record<string, any>

    Returns any