This functionality is only available for certain module packages.

You are here: Reference > Formula Language > Formulas > Collections (collections of objects) > General methods for Collections > collect(Block expression)

collect(Block expression)

Generates a new collection which contains the objects specified by expression.

collect(Block expression)
Argument Block expression Expression that is applied to all objects in the collection.
Return value Collection Collection with the results which arise by executing of the expression. The collection has the same type (e.g. list), as the collection, that collect is sent to.