blob: 757ec8a7e1f8c025f4e6e1e8e2089e231186fa52 (
plain)
1
2
3
4
5
6
7
8
9
10
|
[;1m-spec whereis(RegName) -> pid() | port() | undefined[0m
[;1m when RegName :: atom().[0m
Returns the process identifier or port identifier with the
registered name [;;4mRegName[0m. Returns [;;4mundefined[0m if the name is not
registered. Example:
> whereis(db).
<0.43.0>
|