ExToolChest
(ex_tool_chest v0.1.0)
View Source
Convert a pid to a string
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}