jacket
Search the docs
/
API
Tools
Playground
0.31.0
Testing module
← Testing
Matchers
assert_that
require_that
explain
is
not
all_of
any_of
greater_than
at_least
less_than
at_most
between
near
contains
starts_with
ends_with
is_empty
has_length
has_item
each
is_null
not_null
is_true
is_false
of_type
On this page
See also
std
/
Extensions
/
Testing
/
has_item
has_item
procedure · 1 overload
since 0.30.0
Source
An array with an element
matcher
holds for.
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
Matcher
See also
is_empty
has_length
each
is_null