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

Function transformCLI

dlp/createTrigger.js:131–138  ·  view source on GitHub ↗
(infoTypes)

Source from the content-addressed store, hash-verified

129});
130
131function transformCLI(infoTypes) {
132 infoTypes = infoTypes
133 ? infoTypes.split(',').map(type => {
134 return {name: type};
135 })
136 : undefined;
137 return infoTypes;
138}

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected