MCPcopy
hub / github.com/MauriceNino/dashdot / lst

Function lst

apps/server/src/config.ts:11–11  ·  view source on GitHub ↗
(item: string)

Source from the content-addressed store, hash-verified

9
10const penv = (key: string): string | undefined => process.env[`DASHDOT_${key}`];
11const lst = (item: string): string[] => (item === '' ? [] : item.split(','));
12const numlst = (item: string): number[] => lst(item).map((item) => +item);
13const kv = <T extends boolean>(
14 inp: string[],

Callers 2

numlstFunction · 0.85
config.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected