Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 434 Bytes

zeroPad.md

File metadata and controls

29 lines (15 loc) · 434 Bytes

@serenity-is/corelib / zeroPad

Function: zeroPad()

zeroPad(n, len): string

Pads the start of string to make it the specified length.

Parameters

n

number

The number to pad.

len

number

Target length of the string.

Returns

string

Defined in

src/q/strings-compat.ts:123