Method ADT.List()->head()
classADT.List
- Method
head
ValueTypehead()- Description
Get the element at the head of the list.
- Throws
Throws an error if the list is empty.
- See also
class ADT.ListValueType head()
Get the element at the head of the list.
Throws an error if the list is empty.