Tinderbox v10 Icon

similarTo(item[, notesNum])


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Data Type Returned: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

Operator Has Optional Arguments: 

 Function  [other Function type actions]

 Item  [operators of similar scope]

 Query Boolean  [other Query Boolean operators]

 boolean test

 v4.6.0

 Baseline

 As at baseline

 [More on optional operator arguments]


similarTo(item,notesNum)

Returns Boolean true if item is amongst the (optionally notesNum notes) most similar to the current note.

The item argument must be quoted unless an attribute reference. Ways to define item.

Similarity is based on several factors, including:

In addition, weighting is applied for:

This data replicates that seen in the similar tab of Get Info and in the export code ^similarTo()^.

Legacy issues

This operator replaces the legacy #similarTo query operator and what in old version's agent query creation pop-ups and Find dialogs was listed as "is similar to".


See also—notes linking to here: