Class RuleDataSensitive
- class ooodev.dialog.search.tree_search.RuleDataSensitive[source]
Rule for matching a node’s data value with a case-sensitive string.
- is_match(node, match_value)[source]
Gets the node’s data value and compares it with the match value.
- Parameters:
node (XTreeNode) – Tree node to check.
match_value (Any) – Value to match. Must be a string to match.
- Returns:
True if the node’s data value matches the match value; Otherwise, False.
- Return type:
bool