MCPcopy Create free account
hub / github.com/unconed/TermKit / join

Function join

Node/shell/meta.js:19–21  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

17
18// Flatten multi-line strings.
19function join(string) {
20 return (''+string).replace(/[\r\n] ?/g, ' ');
21}
22
23// Quote a string
24function quote(string) {

Callers 1

meta.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected