MCPcopy Create free account
hub / github.com/Effect-TS/effect / valueGroups

Function valueGroups

packages/sql/sqlite-do/test/Client.test.ts:154–155  ·  view source on GitHub ↗
(values: string)

Source from the content-addressed store, hash-verified

152const unquote = (value: string) => value.replace(/^"|"$/g, "")
153
154const valueGroups = (values: string): Array<string> =>
155 values.match(/\(([^)]*)\)/g)?.map((group) => group.slice(1, -1)) ?? []
156
157const parseValue = (
158 value: string,

Callers 1

execMethod · 0.85

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected