Pretty.inspect

You're seeing just the function inspect, go back to Pretty module for more information.
Link to this function

inspect(item, opts \\ [])

View Source

Specs

inspect(item, inspect_opts()) :: item when item: var

Inspect an item, writing the report to the standard output. Return the item unchanged.

Like IO.inspect/2, but with pretty defaults appropriate to the device.

See inspect/3 for details on option handling.

Link to this function

inspect(device, item, opts)

View Source

Specs

inspect(IO.device(), item, inspect_opts()) :: item when item: var

Inspect an item, writing the report to a device. Return the item unchanged.

Like IO.inspect/3, but with pretty defaults appropriate to the device:

  • Set pretty to true
  • Set width according to the device's :io.columns/1 if possible, else the Inspect.Opts default of 80
  • Set syntax_colors according to the device node's IEx.Config.inspect_opts/1