Skip to content

isRight

Matcher isRight([Object? matcher])

Returns a Matcher that matches a Right value.

If matcher is provided, the matched value inside Right must also satisfy it. If omitted, any Right value matches.