View Source Machete.TermMatcher (Machete v0.2.6)
Defines a matcher that matches everything
Link to this section Summary
Types
Describes the arguments that can be passed to this matcher
Describes an instance of this matcher
Functions
Matches everything
Link to this section Types
@type opts() :: []
Describes the arguments that can be passed to this matcher
@opaque t()
Describes an instance of this matcher
Link to this section Functions
Matches everything
Takes no arguments
Examples:
iex> assert "a" ~> term()
true
iex> assert :a ~> term()
true
iex> assert 1 ~> term()
true
iex> assert %{} ~> term()
true
iex> assert nil ~> term()
true