Tinderbox v11 Icon

list.size()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Data Type Returned: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

 Property  [other Property type actions]

 Item  [operators of similar scope]

 Data manipulation  [other Data manipulation operators]

 Number [about Number data type]

 v5.7.0

 Baseline

 As at baseline


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


list.size()

list.size

This returns the Number of discrete values in a List- or Set-type list. 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.count or count(list).

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


See also—notes linking to here: