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

Function transformCLI

dlp/deIdentifyWithExceptionList.js:125–132  ·  view source on GitHub ↗
(infoTypes)

Source from the content-addressed store, hash-verified

123});
124
125function transformCLI(infoTypes) {
126 infoTypes = infoTypes
127 ? infoTypes.split(',').map(type => {
128 return {name: type};
129 })
130 : undefined;
131 return infoTypes;
132}

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected