and

open infix fun and(other: RetryPredicate): RetryPredicate

Combines this predicate with another using logical AND (conjunction).

Truth Table

A | B | A AND B
--------------
0 | 0 | 0
0 | 1 | 0
1 | 0 | 0
1 | 1 | 1

Usage

val predicateC = predicateA and predicateB

Return

a RetryPredicate that returns true only if both predicates return true.

Since

1.0.0

Parameters

other

The other RetryPredicate to be combined with.