Extracted from Pike v7.8 release 352 at 2011-11-26.
pike.ida.liu.se
[Top]
ADT
ADT.List
ADT.List()->_get_iterator

Method ADT.List()->_get_iterator()->first()


Method first

int(0..1) first()

Description

Reset the iterator to point to the first element in the list.

Returns

Returns 1 if there are elements in the list, and 0 (zero) if the list is empty.