BBmisc (version 1.10)

getFirst: Get the first/last element of a list/vector.

Description

Get the first/last element of a list/vector.

Usage

getFirst(x)
getLast(x)

Arguments

x
[list | vector] The list or vector.

Value

Selected element. The element name is dropped.