Atom View Source
Convenience functions for working with atoms.
See also Kernel.is_atom/1
.
Link to this section Summary
Link to this section Functions
Link to this function
to_charlist(atom) View Source
Converts an atom to a charlist.
Inlined by the compiler.
Examples
iex> Atom.to_charlist(:"An atom")
'An atom'
Link to this function
to_string(atom) View Source
Converts an atom to a string.
Inlined by the compiler.
Examples
iex> Atom.to_string(:foo)
"foo"