Skip to content

isSome

MatcherisSome([Object?matcher])

Returns a Matcher that matches a Some value.

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