source:
node_modules/es-toolkit/dist/compat/string/pad.mjs@
ba17441
| Last change on this file since ba17441 was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 205 bytes | |
| Rev | Line | |
|---|---|---|
| [a762898] | 1 | import { pad as pad$1 } from '../../string/pad.mjs'; |
| 2 | import { toString } from '../util/toString.mjs'; | |
| 3 | ||
| 4 | function pad(str, length, chars) { | |
| 5 | return pad$1(toString(str), length, chars); | |
| 6 | } | |
| 7 | ||
| 8 | export { pad }; |
Note:
See TracBrowser
for help on using the repository browser.
