Elixir v1.3.2 Atom
Convenience functions for working with atoms.
See also Kernel.is_atom/1
.
Summary
Functions
Specs
to_charlist(atom) :: charlist
Converts an atom to a charlist.
Inlined by the compiler.
Examples
iex> Atom.to_charlist(:"An atom")
'An atom'
Specs
to_string(atom) :: String.t
Converts an atom to a string.
Inlined by the compiler.
Examples
iex> Atom.to_string(:foo)
"foo"