MCPcopy Create free account
hub / github.com/SimonBuxx/LogiJS / createPadding

Function createPadding

libraries/lodash.js:5314–5325  ·  view source on GitHub ↗

* Creates the padding for `string` based on `length`. The `chars` string * is truncated if the number of characters exceeds `length`. * * @private * @param {number} length The padding length. * @param {string} [chars=' '] The string used as padding. * @returns {string}

(length, chars)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

padFunction · 0.85
padEndFunction · 0.85
padStartFunction · 0.85

Calls 6

baseToStringFunction · 0.85
baseRepeatFunction · 0.85
stringSizeFunction · 0.85
hasUnicodeFunction · 0.85
castSliceFunction · 0.85
stringToArrayFunction · 0.85

Tested by

no test coverage detected