Function getFormulaLocators

  • Finds locators of $<formula> formulas inside a data object. Returns list of locators by which these formulas can be found.

    For example, for

    {
    "obj": {
    "key": {
    $var: $.abc
    }
    }
    }

    it will return ['$.obj.key']

    Parameters

    • formulaType: string
    • data: any

    Returns string[]