# `Machete.BooleanMatcher`
[🔗](https://github.com/mtrudel/machete/blob/main/lib/machete/matchers/boolean_matcher.ex#L1)

Defines a matcher that matches boolean values

# `opts`

```elixir
@type opts() :: []
```

Describes the arguments that can be passed to this matcher

# `t`

```elixir
@opaque t()
```

Describes an instance of this matcher

# `boolean`

```elixir
@spec boolean(opts()) :: t()
```

Matches against boolean values

Takes no arguments

Examples:

    iex> assert true ~> boolean()
    true

    iex> assert true ~> boolean()
    true

    iex> refute 1 ~> boolean()
    false

    iex> refute nil ~> boolean()
    false

---

*Consult [api-reference.md](api-reference.md) for complete listing*
