1
0
Fork 0
js-utils/docs/api/js-utils.leftpad.md

25 lines
555 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [leftPad](./js-utils.leftpad.md)
## leftPad() function
<b>Signature:</b>
```typescript
export declare function leftPad(val: string, min?: number, fill?: string): string;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | <code>string</code> | |
| min | <code>number</code> | |
| fill | <code>string</code> | |
<b>Returns:</b>
`string`