Initial Save
This commit is contained in:
8
node_modules/graphql/jsutils/printPathArray.mjs
generated
vendored
Normal file
8
node_modules/graphql/jsutils/printPathArray.mjs
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Build a string describing the path.
|
||||
*/
|
||||
export default function printPathArray(path) {
|
||||
return path.map(function (key) {
|
||||
return typeof key === 'number' ? '[' + key.toString() + ']' : '.' + key;
|
||||
}).join('');
|
||||
}
|
||||
Reference in New Issue
Block a user