| Operator Type: | Function |
| Operator Scope of Action: | Item |
| Operator Purpose: | Boolean (query) |
contains("item")
Returns true if the note evaluated from item is a direct child of the current note or, put conversely, if the note is the parent of item. Thus it can be thought of as an "is parent of" operator - and as such a counterpart to the "is a child of" operator inside().
The item parameter must be quoted.
In the query creation pop-ups of agent and Find dialogs this function is listed as "is container of".
This replaces the legacy #contains query operator.
Checking textual data as opposed to just title ($Name). To check if an attribute's value contains or matches some other value, use AttributeName(pattern). Single words alone can be checked using word(), which works across $Name, $Text and all string attributes.
