Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
ADT
ADT.List

Method ADT.List()->head()


Method head

mixed head()

Description

Get the element at the head of the list.

Throws

Throws an error if the list is empty.

See also

is_empty() , tail() , pop()