QScript Rules
Jump to navigation
Jump to search
This feature is new in Q 4.8.
Rules
Allows manipulation of the Rule objects held by an item that supports Rules (e.g. Table, Plot and R Item).
add(rule)
Applies a Rule to this item. This method is harmless if the rule is applied twice.
| rule | The rule to add. |
list
Retrieves the Rules applied to this item.
| Returns: | An array of Rule objects. |
remove(rule)
Stops applying a Rule to this item. This method is harmless if the rule is not currently applied.
| rule | The rule to remove. |
type
Returns the name we use to refer to this class in the documentation.