(self: InetAddress)
| 2038 | * @since 4.0.0 |
| 2039 | */ |
| 2040 | export const formatHost = (self: InetAddress): string => |
| 2041 | formatIp(self.address) + (isInetAddressV6(self) && self.scopeId !== 0 ? `%${self.scopeId}` : "") |
| 2042 | |
| 2043 | /** |
| 2044 | * Formats an internet address's host for a native socket API, without brackets |
no test coverage detected