Function printPaths

  • Transform an array of Path to it's string representation.

    printPaths([{kind: "field", field: 'field1'}, {kind: "index", index: 1}])
    // => $root.field[1]

    Parameters

    • paths: Path[]

      an array of Pathr

    Returns string

    string representation of the path

Generated using TypeDoc