
  -spec whereis(RegName) -> pid() | port() | undefined
                   when RegName :: atom().

  Returns the process identifier or port identifier with the 
  registered name RegName from the name registry. Returns 
  undefined if the name is not registered. Example:

    > whereis(db).
    <0.43.0>
