MCPcopy Create free account
hub / github.com/PicoCreator/smol-dev-js / dashLineString

Function dashLineString

src/cli/OutputHandler.js:113–122  ·  view source on GitHub ↗

* Return a line of dashes "-" of a fixed length * @param {int} len * * @return normalized string

(len = 22)

Source from the content-addressed store, hash-verified

111 * @return normalized string
112 */
113function dashLineString(len = 22) {
114 // Prepare the dash line
115 let ret = "";
116 while( ret.length < len ) {
117 ret += "-";
118 }
119
120 // Return the dash line
121 return ret;
122}
123
124//--------------
125//

Callers 2

standardTableMethod · 0.85
standardTableHeaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected