function (list
as list, optionalcountOrCondition
as nullable any) as nullable any
list
. If the list is empty, an exception is thrown. This function takes an optional parameter, countOrCondition
, to support gathering multiple items or filtering items. countOrCondition
can be specified in three ways: {2}
{7, 8, 2}