This version is out of date, covering development from v9.5.0 to v9.7.3. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

List/Set.size()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Last Altered: 

 Property  [other Property type actions]

 Item  [operators of similar scope]

 Data manipulation  [other Data manipulation operators]

 Baseline

 As at baseline


Syntax note: Operators without any defined mandatory arguments may omit their empty closing parentheses


List/Set.size()

List/Set.size

This returns the Number of discrete values in a List/Set. The returned number can be coerced to a string. Trailing parentheses are optional for this property. Examples:

$MyList = [hello;world]; $MyStringA = $MyList.size; 

$MyStringA is set to "2".

This property is the same evaluation as List/Set.count or count(list).

This operator can also be used on other attribute data types that are string-like, URL, File, etc.