DarkMatter.Inflections.underscore

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

Specs

underscore(String.t()) :: String.t()

Returns the underscore version of the string

Examples

iex> underscore("UpperCamelCase")
"upper_camel_case"

iex> underscore("pascalCase")
"pascal_case"