Operator Scope of Action:
Operator First Added:
Returns true if the current note links to an item or group of items; this is optionally filtered to only links of type linkType. Put another way, "Does an outbound link exist from the current note to item(s)?".
Ways to define item. The item parameter must be quoted unless an attribute reference, e.g.
"Some note" vs
Links of type 'prototype' are ignored. Used in an agent, 'this' note is the alias in the agent and not its original, making this action unsuitable for testing in a agent action.
If using linkType, you must use the value "*untitled" to match an 'untitled' type link (rather than "" or "untitled").
Thus, to test if any note using the 'Event' prototype has an outbound link of the 'untitled' link type the agent query would be:
$Prototype=="Event" & linkedTo("*", "*untitled")
This replaces the legacy #linkedTo query operator.
The logical opposite if this test is linkedFrom().
This function can match a link to an alias as opposed to an original (if the logical choice).