View Source TypeCheck.Builtin.ImplementsProtocol (TypeCheck v0.12.0)
Checks whether there is a protocol implementation for this value.
Returns a problem tuple with the reason :no_match otherwise.
Link to this section Summary
Link to this section Types
(This type is managed by TypeCheck,
which allows checking values against the type at runtime.)
Full definition:
problem_tuple :: {t(), :no_match, %{}, any()}
  @type t() :: %TypeCheck.Builtin.ImplementsProtocol{protocol: module()}
(This type is managed by TypeCheck,
which allows checking values against the type at runtime.)
Full definition:
t :: %TypeCheck.Builtin.ImplementsProtocol{protocol: module()}