MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / transformCLI

Function transformCLI

dlp/redactText.js:73–80  ·  view source on GitHub ↗
(infoTypes)

Source from the content-addressed store, hash-verified

71});
72
73function transformCLI(infoTypes) {
74 infoTypes = infoTypes
75 ? infoTypes.split(',').map(type => {
76 return {name: type};
77 })
78 : undefined;
79 return infoTypes;
80}

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected