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

25 lines
555 B
Markdown
Raw Normal View History

2020-03-29 14:10:40 +00:00
<!-- 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`