Please, please use the search in the module docs and real time chats :)
Reverse in-place - https://nim-lang.org/docs/algorithm.html#reverse%2CopenArray%5BT%5D Out-of-place - https://nim-lang.org/docs/algorithm.html#reversed%2CopenArray%5BT%5D