This functionality is only available for certain module packages.

You are here: Reference > Formula Language > Formulas > Map > Methods For Map > ifEmpty(Block block)

ifEmpty(Block block)

If the Map (Map, OrderedMap or BidiMap) is empty, the result of the formula given with the argument block is returned.

ifEmpty(Block block)
Argument Block block Formula, which returns an alternative result.
Return value