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