BBmisc (version 1.13)

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)

Value

Selected element. The element name is dropped.

Arguments

x

[list | vector]
The list or vector.