Get the first/last element of a list/vector.
getFirst(x) getLast(x)
x
[list | vector] The list or vector.
list
vector
Selected element. The element name is dropped.