* Retrieves the external IP address for this host. * @param {string=} family The IP family to retrieve. Defaults to "IPv4". * @return {(string|undefined)} The IP address or undefined if not available.
(family = 'IPv4')
| 64 | * @return {(string|undefined)} The IP address or undefined if not available. |
| 65 | */ |
| 66 | function getAddress(family = 'IPv4') { |
| 67 | return getIPAddress(false, family) |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Retrieves a loopback address for this machine. |
nothing calls this directly
no test coverage detected