len()
The len() method returns the number of elements in a list.
max()
The max() method returns the highest-valued item in a list.
min()
The min() method returns the lowest-valued item in a list.
pop()
The pop() method returns the last item in a list, and removes it from the list.
reduce(
f
The reduce(
f
f(a,b)
f(a,b)
reverse()
The reverse() method reverses the order of the members of a list, and returns the new list.
sort()
The sort() method sorts the members of a list into ascending order, and returns the new list.
sortOn(
f
The sortOn(
f
f(a,b)
f
1
0
-1
a>b
a=b
a<b
sortOnElement(
n
The sortOnElement(
n
n
n
n=-1
vector()
The vector() method returns the elements in a list as a vector.