Tinderbox v10 Icon

compositeFor(nameStr):roles


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]

 Composite  [operators of similar scope]

 Composite  [other Composite operators]

 Set [about Set data type]

 v7.0.0

 Baseline

 As at baseline


compositeFor(nameStr):roles

returns a Set-type list of roles that appear in the composite containing note nameStr.

This code can also use the 'my' designator to give a shorter form. These are functional equivalents:

$MySet = compositeFor(this):roles; 
$MySet = my:roles; 

See also—notes linking to here: