How can I view methods associated with an Elixir object?

ยท 1 minute long

Let's say we have the following module

defmodule Reminder do
def alarm(time, day) do

We can check what methods are on it by providing a :functions atom

# [alarm: 2]

As we can see, this Reminder module has an alarm method, with an arity of 2.