or
Combines this strategy with other using logical OR.
If this strategy is already an OrStrategy, the other strategy is appended to its list, creating a flat structure instead of nesting.
Example:
val strategy = strategyA or strategyB or strategyC
// Creates OrStrategy([a, b, c]) instead of OrStrategy([OrStrategy([a, b]), c])Content copied to clipboard
Return
An OrStrategy that evaluates to true if any strategy returns true.
Parameters
other
The strategy to combine with.