Pnaxighn/TraverseJS — Issue #4: DSL: AllOf, BothOf, AnyOf and EitherOf functions
Author: nbudin
Created: 2011-11-06 00:23:54+00:00
State: open

Just syntactic sugar for AndPredicate/OrPredicate. Example:

```javascript
After( BothOf(
"Barbara Chooses Whether To Cheat",
EitherOf( "Barbara Marries William", "Charles Chooses Whether to Cheat" )
),
Choice( "They Choose Whether to Divorce", "They Divorce", "They Stay Together" )
);
```