Method ADT.List()->pop()


Method pop

mixed pop()

Description

Pop the element at the head of the list from the list.

Throws

Throws an error if the list is empty.

See also

is_empty(), head(), tail(), pop_back()