MCPcopy Create free account
hub / github.com/Mrinank-Bhowmick/python-beginner-projects / nl

Function nl

web/src/components/Playground.tsx:95–95  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

93}
94
95const nl = (s: string) => s.replace(/\r?\n/g, "\r\n");
96
97const clamp = (v: number, lo: number, hi: number) =>
98 Math.max(lo, Math.min(hi, v));

Callers 1

PlaygroundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected