or

public Matcher<T> or(Matcher<T> other)(source)

Returns a new matcher that logically combines the current matcher with the given matcher using the logical or operator.

Return

the new matcher

Parameters

other

the other matcher