DarkMatter.Inflections.atom

You're seeing just the function atom, go back to DarkMatter.Inflections module for more information.
Link to this function

atom(atom_or_binary, conversion_or_conversions)

View Source

Specs

atom(atom() | String.t(), conversion() | [conversion(), ...]) :: atom()

Converts either an atom or string to an atom based on the conversion.

Examples

iex> atom("_foo_bar123XYZ", :absinthe_camel)
:_fooBar123XYZ

iex> atom(:fooBarz___test, :camel)
:fooBarzTest