padRight
Callable
Parameters
value: Numbers
The value to be padded.
characterAmount: number
The amount of characters the string should have.
sign: string = '0'
The sign to be added (default is 0).
Returns string
The padded string.
The value to be padded.
The amount of characters the string should have.
The sign to be added (default is 0).
The padded string.
Adds a padding on the right of a string, if value is a integer or bigInt will be converted to a hex string.