repeatValue
repeatValue<
T>(obj:string|T[],count:number):string|T[]
Defined in: packages/pythonlib/src/core.ts:204
Python-style string/array repetition
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
obj | string | T[] |
count | number |
Returns
string | T[]