or

open infix fun or(other: RetryPredicate): RetryPredicate

Combines this predicate with another using logical OR (disjunction).

Truth Table

A | B | A OR B
--------------
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 1

Usage

val predicateC = predicateA or predicateB

Return

a RetryPredicate that returns true if either predicate returns true.

Since

1.0.0

Parameters

other

The other RetryPredicate to be combined with.