MCPcopy Index your code
hub / github.com/jsdoc/jsdoc / padding

Function padding

lib/jsdoc/opts/argparser.js:10–12  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

8const hasOwnProp = Object.prototype.hasOwnProperty;
9
10function padding(length) {
11 return new Array(length + 1).join(' ');
12}
13
14function padLeft(str, length) {
15 return padding(length) + str;

Callers 3

padLeftFunction · 0.85
padRightFunction · 0.85
formatHelpInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…