xor
Combines this predicate with another using logical XOR (exclusive OR).
Truth Table
A | B | A XOR B
---------------
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0
Content copied to clipboard
Usage
val predicateC = predicateA xor predicateB
Content copied to clipboard
Return
a RetryPredicate that returns true
only if exactly one predicate returns true
.
Since
1.0.0
Parameters
other
The other RetryPredicate to be combined with.