ExToolChest (ex_tool_chest v0.1.0) View Source

Documentation for ExToolChest.

Link to this section Summary

Functions

Convert a pid to a list

Convert a pid to a string

Convert a pid to a tuple

Link to this section Functions

Convert a pid to a list

Examples

iex> ExToolChest.pid_to_list(IEx.Helpers.pid(0, 1, 2))
[0, 1, 2]

Convert a pid to a string

Examples

iex> ExToolChest.pid_to_string(IEx.Helpers.pid(0, 1, 2))
"0.1.2"

Convert a pid to a tuple

Examples

iex> ExToolChest.pid_to_tuple(IEx.Helpers.pid(0, 1, 2))
{0, 1, 2}