Viktor Klymentiev
@yondertype
A software developer, formerly startups co-founder & CTO
6 posts
Elixir

In Elixir, is there a way to determine if a module exists?

You can use Code.ensure_compiled?/1, but there is a side effect: it will also attempt to load the module if it is not already, which may not be desired (depending on the use-case).