- :string
- :block
repeat
repeat value the given number of times and return new one
Parameters
repeat value :literal :pathliteral :any times :integer
Returns
Examples
copyprint repeat "hello" 3 ; hellohellohello
copyrepeat [1 2 3] 3 ; => [1 2 3 1 2 3 1 2 3]
copyrepeat 5 3 ; => [5 5 5]
copyrepeat [[1 2 3]] 3 ; => [[1 2 3] [1 2 3] [1 2 3]]