You can display typespecs from a module thorugh t command on iex, i.e:

iex(1)> t Enum
@type t() :: Enumerable.t()
@type acc() :: any()
@type element() :: any()
@type index() :: integer()
@type default() :: any()

Reference: IEx.Helpers.t