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

514 B

Home > @apextoaster/js-utils > leftPad

leftPad() function

Signature:

export declare function leftPad(val: string, min?: number, fill?: string): string;

Parameters

Parameter Type Description
val string
min number
fill string

Returns:

string