This allows values in Condition Variables to not just be functions, but also strings, numbers, booleans and regular expressions. These are all turned into functions that do literal matching (or in the case of regexp, runs an re.test).
Also added unit tests for Condition Variables and added a get() API on cond vars to get the current value.
This allows values in Condition Variables to not just be functions, but also strings, numbers, booleans and regular expressions. These are all turned into functions that do literal matching (or in the case of regexp, runs an
re.test
).Also added unit tests for Condition Variables and added a
get()
API on cond vars to get the current value.