View Source Matcher.Protocol protocol (Matcher v0.3.0)

Link to this section Summary

Types

t()

All the types that implement this protocol.

Link to this section Types

@type t() :: term()

All the types that implement this protocol.

Link to this section Functions

Link to this function

match(matcher, value, context)

View Source
@spec match(any(), any(), Matcher.Context.t()) :: {:ok, nil} | {:error, %{}}