Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There also exist algebraic operators (+,  -) to concatenate or subtract lists.

 

<List>[Number x]

 Returns the object on position x of the given list, e.g. 'timestamps[0]'.

IndexOf(List l, Object o)

Returns the index of the given object in the given list.

IsEmpty(List l)

Return true if the given list is empty else false.

Size(List l)

Return the size of the list.

elementAt(List l, int pos)

Return the element of the list l at pos. If the list is a variable or a constant list[pos] can be used.

filter(List l, String predicate)

Executes the predicate on each element in the list and returns a filtered list

foreach(List l, String expression)

Perform the given expression on each element in the list and returns a list with the mapped elements.

 

Table of Contents