Skip to main content

Function: isLoopbackHostname()

isLoopbackHostname(hostname): boolean

Whether hostname (a URL hostname: an IPv6 address may be in brackets) names the loopback interface: localhost, an address in 127.0.0.0/8 or ::1. A plain http update feed on such a host never leaves the machine.

Parameters​

hostname​

string

Returns​

boolean