Tinderbox v9 Icon

descendedFrom(item)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Last Altered: 

 Function  [other Function type actions]

 Item  [operators of similar scope]

 Query Boolean  [other Query Boolean operators]

 Baseline

 As at baseline


descendedFrom(item)

Returns Boolean true if item is an an ancestor of the current note, i.e. it matches all descendants of item however deep the outline branch beneath it.

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

To return a Set of all items descended from container at path '/foo/bar' use the query:

descendedFrom(/foo/bar) 

Or if 'bar' is a unique title in the document, $Name alone can be used:

descendedFrom("bar") 

the latter being the form most usually encountered.

Unlike the paring of contains() and inside(), there is no converse operator that looks for notes that are ancestors of item.

Legacy issues

This operator replaces the legacy #descendedFrom query operator.