String.to_existing_atom

You're seeing just the function to_existing_atom, go back to String module for more information.
Link to this function

to_existing_atom(string)

View Source

Specs

to_existing_atom(t()) :: atom()

Converts a string to an existing atom.

The maximum atom size is of 255 Unicode code points.

Inlined by the compiler.

Examples

iex> _ = :my_atom
iex> String.to_existing_atom("my_atom")
:my_atom