Extensions.Util.ListReverse

From emotive
Jump to navigation Jump to search

Classification

Name ListReverse
Short Description Creates a reversed list of the given list
Class Term
Extension OTX Util extension
Group Util related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm Util.ListReverse(ListTerm list);

Description

The OTX ListReverse term is a ListTerm that returns a copy of the given list in opposite sequence.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
List The reversed list of the given list.

Properties

Name Data Type Class Default Cardinality Description
List List Term - [1..1] The List from which the reversed list shall be created.

OTL Examples

/// Local Declarations

List<Integer> List1;

/// Flow

List1 = Util.ListReverse({1, 2, 3, 4, 5, 6, 7, 8, 9});

See also

Compare
CopyByteField
GetRandomNumber
IsInitialized
ListIndexOf
ListIndexOfAny
ListSort
Max
Min
StringFormat