Lens into the reverse of an object.

rev_l

Format

An object of class lens of length 2.

Examples

x <- 1:10 view(x, rev_l)
#> [1] 10 9 8 7 6 5 4 3 2 1
set(x, rev_l, 11:20)
#> [1] 20 19 18 17 16 15 14 13 12 11