---
name: "lreverse"
section: "n"
platform: "macos"
package: "tcl"
version: "152"
release: "macOS 26.5"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/lreverse/n"
---

# lreverse(n)

Reverse the order of a list

## NAME

lreverse - Reverse the order of a list

## SYNOPSIS

**lreverse** *list*

## DESCRIPTION

The **lreverse** command returns a list that has the same elements as its input list, *list*, except with the elements in the reverse order.

## EXAMPLES

**lreverse** {a a b c}\
       *→ c b a a* **lreverse** {a b {c d} e f}\
       *→ f e {c d} b a*

## SEE ALSO

[list(n)](/list/n.md), [lsearch(n)](/lsearch/n.md), [lsort(n)](/lsort/n.md)

## KEYWORDS

element, list, reverse
