An array with an element matcher holds for.
assert_that(s32.[1, 2, 3], has_item(greater_than(2)));- matcher: must hold for at least one element.
has_item :: (matcher: Matcher) -> Matcher
An array with an element matcher holds for.
Parameters
- matcher: Matcher
- must hold for at least one element.
Returns
assert_that(s32.[1, 2, 3], has_item(greater_than(2)));