Muhammad Lukman Low
Muhammad Lukman Low

Reputation: 8533

Is there an equivalent of Python's dir() in Elixir

Coming from a Python background, one thing that I really miss Python's dir() which lists out all of the methods in an object or library.

Is there an equivalent in Elixir ?

Upvotes: 2

Views: 187

Answers (1)

José Valim
José Valim

Reputation: 51369

If you are on the terminal, you can type: ModuleName. and then press tab and it will show all available functions/macros in that particular module. There isn't something library wise though.

Upvotes: 3

Related Questions