MCPcopy Create free account
hub / github.com/apache/pouchdb / padLeft

Function padLeft

lib/index.es.js:3205–3208  ·  view source on GitHub ↗
(str, padWith, upToLength)

Source from the content-addressed store, hash-verified

3203}
3204
3205function padLeft(str, padWith, upToLength) {
3206 var padding = pad(str, padWith, upToLength);
3207 return padding + str;
3208}
3209
3210var MIN_MAGNITUDE = -324; // verified by -Number.MIN_VALUE
3211var MAGNITUDE_DIGITS = 3; // ditto

Callers 1

numToIndexableStringFunction · 0.70

Calls 1

padFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…