Operator Scope of Action:
Operator First Added:
Operator Last Altered:
Operator Has Optional Arguments:
Function [other Function type actions]
Item [operators of similar scope]
Data manipulation [other Data manipulation operators]
As at baseline
For the current note this tests if an attribute name attributeNameStr has a locally set value (returning a Boolean
true), or whether that value is inherited from a prototype or document default (
false). The main input is a quote-enclosed system or currently defined user attribute (without a $ prefix):
$MyBoolean = hasLocalValue("Rule")
The arguments are evaluated, so
$MyBoolean = hasLocalValue($MyString)
returns information about the attribute whose name is currently saved as the current note's value of $MyString.
The note evaluated is the current note. The 'item' input allows for offset addressing. For example:
$MyBoolean = hasLocalValue("Rule","Some Note")
checks the local value status of $Rule not for the current note but for the note called "Some Note"
Most users will not have need of this but it is useful in very large document to find the odd note with a local setting, when visual review would take too long.