Files
hackathon-v-escape-4ff8b5a6…/frontend/node_modules/graphql/jsutils/printPathArray.js
marianesaldana 80dbd947e5 Initial commit
2026-05-23 08:59:34 -06:00

16 lines
323 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = printPathArray;
/**
* Build a string describing the path.
*/
function printPathArray(path) {
return path.map(function (key) {
return typeof key === 'number' ? '[' + key.toString() + ']' : '.' + key;
}).join('');
}