Libraries anvil lang pipe

iterator pipe(object converter, object elements)
Returns iterator that iterates through given elements and pipes the return value of given function as element on call to iterator.next.
Parameters converter -  Callable converter receiving parameters element, index)