Class Function.Iterator (< ValueType >)

Inheritance graph
Iterator Function.Iterator
Description

An object of this class is returned by get_iterator() when called with a function.

See also

get_iterator()


Generic ValueType

__generic__ mixed ValueType = mixed


Inherit predef::Iterator

inherit Iterator : predef::Iterator


Method create

Function.Iterator Function.Iterator(function(:ValueType) fun)

Description

Create an iterator that calls fun() until it returns UNDEFINED.