Counts the number of elements in the list.
List
listSize(<parameters>)
Parameter | Type | Description |
---|---|---|
listToProcess | listString, listBoolean, listInteger, listDecimal, listDuration, listDateTime, listDateTimeOnly, listDateOnly, or listObject | List to process. For listObject, it must be a field reference. A listObject cannot contain null object. |
listSize(<listInteger>)
listSize(<listDecimal>)
listSize(<listString>)
listSize(<listBoolean>)
listSize(<listDateTimeOnly>)
listSize(<listDateTime>)
listSize(<listDateOnly>)
listSize(<listDuration>)
Return an integer.
listSize(<listObject>)
listSize([10,2,3])
Returns 3.
listSize(@event{my_event.productListItems})
Returns the number of objects in the given array of objects (listObject type).