IsLocalHost()

Determines whether the specified IP address is the localhost.

IsLocalHost( ip=String );

Returns: Boolean

Argument Description
ip
String, required

Valid IP address.

Alias: value

Examples

ip="127.0.0.1";
writeDump(islocalhost(ip));//true
writeDump(islocalhost(GetLocalHostIP()));//true

See also