MCPcopy
hub / github.com/date-fns/date-fns / cleanEscapedString

Function cleanEscapedString

pkgs/core/src/lightFormat/index.ts:134–138  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

132}
133
134function cleanEscapedString(input: string) {
135 const matches = input.match(escapedStringRegExp);
136 if (!matches) return input;
137 return matches[1].replace(doubleQuoteRegExp, "'");
138}

Callers 1

lightFormatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected