Skip to content

Home > sculp-js > stringFill

stringFill() function

字符串填充

Signature:

typescript
stringFill: (length: number, value?: string) => string

Parameters

Parameter

Type

Description

length

number

value

string

(Optional)

Returns:

string

{string}

Released under the MIT License.