- :string
- :block
- or :nothing
reverse
reverse given collection
Parameters
reverse collection :string :literal :block :range
Attributes
exact | make sure the reverse range contains the same elements |
Returns
Examples
copyprint reverse [1 2 3 4] ; 4 3 2 1 print reverse "Hello World" ; dlroW olleH
copystr: "my string" reverse 'str print str ; gnirts ym