Typable v0.2.0 Typable protocol View Source

Protocol which describes type identifier of Elixir term

Link to this section Summary

Functions

Returns module which represents type identifier of given term

Link to this section Types

Link to this section Functions

Returns module which represents type identifier of given term

Examples

iex> Typable.type_of(1)
Integer
iex> Typable.type_of(self())
PID
iex> Typable.type_of(%URI{})
URI