flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
15
VISUALIZACION/node_modules/graphql/jsutils/printPathArray.js
generated
vendored
Executable file
15
VISUALIZACION/node_modules/graphql/jsutils/printPathArray.js
generated
vendored
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
"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('');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue