Ash.Type.Enum.match

You're seeing just the callback match, go back to Ash.Type.Enum module for more information.

Specs

match(term()) :: {:ok, atom()} | :error

finds the valid value that matches a given input term