Checks whether a condition is present, absent (negated), or don't care in a given term.

get_condition_status(term, condition)

Arguments

term

Character. Single term (e.g., "X1*X2", "~X3").

condition

Character. Condition name (e.g., "X1").

Value

Character. One of "present", "absent", or "dontcare".

Details

Uses word boundary matching to avoid false positives when condition names are substrings of each other (e.g., X1 vs X10).