View Source Machete.PIDMatcher (Machete v0.3.1)
Defines a matcher that matches PID values
Summary
Types
Describes the arguments that can be passed to this matcher
Describes an instance of this matcher
Functions
Matches against PID values
Types
@type opts() :: []
Describes the arguments that can be passed to this matcher
@opaque t()
Describes an instance of this matcher
Functions
Matches against PID values
Takes no arguments
Examples:
iex> assert self() ~> pid()
true
iex> refute "a" ~> pid()
false