List

first!/1

first!(list)

Returns the first element in list.

If list is empty, an ArgumentError exception is raised.