MCPcopy Create free account
hub / github.com/TypeStrong/ts-node / split

Function split

src/util.ts:47–51  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

45 * @internal
46 */
47export function split(value: string | undefined) {
48 return typeof value === 'string'
49 ? value.split(/ *, */g).filter((v) => v !== '')
50 : undefined;
51}
52
53/**
54 * Parse a string as JSON.

Callers 1

index.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…