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

Defines a matcher that matches PID 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

# `pid`

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

Matches against PID values

Takes no arguments

Examples:

    iex> assert self() ~> pid()
    true

    iex> refute "a" ~> pid()
    false

---

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