Operator Scope of Action:
Operator First Added:
Returns true if the current note is linked to from item; this is optionally filtered to only links of type linkType. Put another way, "Does an outbound link exist from item to the current note?" or "Does an inbound link exist to the current note to item?".
The item parameter must be quoted unless an attribute reference, e.g.
"Some note" vs
$MyString. Ways to define item. Scope is either single note or a group of notes including use of group designators and operators like find(), collect and links().
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.
As an exception to the operator's normal item-scope, a wildcard "*" designator is allowed which matches all notes.
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 inbound link of the 'untitled' link type the agent query would be:
$Prototype=="Event" & linkedFrom("*", "*untitled")
This replaces the legacy #linkedFrom query operator.
The logical opposite of this test is linkedTo().
This function can link from an alias as opposed to an original (if the logical choice) and can accept a group scope.