MCPcopy Create free account
hub / github.com/SoCreate/angular-playground / splitCommaSeparatedList

Function splitCommaSeparatedList

projects/cli/src/configure.ts:45–50  ·  view source on GitHub ↗
(value, defaultValue = [])

Source from the content-addressed store, hash-verified

43}
44
45const splitCommaSeparatedList = (value, defaultValue = []) => {
46 if (!value) {
47 return defaultValue;
48 }
49 return value.split(',');
50};
51
52export function configure(argv: any): Config {
53 const program = new Command();

Callers 1

configureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected