Skip to main content

ReverseElementsOfList

Type

statement

Summary

Reverse a list

Syntax

reverse <Target>

Description

Reverses the order of elements in the Target.

Parameters

NameTypeDescription

Target

A list

Examples

variable tList
put [1, 2, 3] into tList
reverse tList
expect that tList is [3, 2, 1]
Thank you for your feedback!

Was this page helpful?