Ruler
Ruler copied to clipboard
How could I combine different existing rules?
Hi,
I am new to Ruler, and just have a basic question: How could I combine different existing rules dynamically? Tried to google and searched in the GIT repo, did not find any related things...
Thanks!
Hello :-),
A rule returns a boolean, this is a predicate, so you can assert(r1) && assert(r2), or assert(r1) or assert(r2), just like you want :-).