Tinderbox v10 Icon

List/Set.empty()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

 Property  [other Property type actions]

 Item  [operators of similar scope]

 Non-query Boolean  [other Non-query Boolean operators]

 v5.7.0

 Baseline

 As at baseline


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


List/Set.empty()

List/Set.empty

This returns a Boolean depending on whether the list is empty. In this context Set and List type can be regarded as interchangeable. If empty, the return value is true, if the attribute has content then false is returned.

$MyList = [hello;world]; $MyBoolean = $MyList.empty; 

$MyBoolean is set to false as content is found. But

$MyList = []; $MyBoolean = $MyList.empty; 

$MyBoolean is set to true as no content is found.