IsLocalHost()
Determines whether the specified IP address is the localhost.
IsLocalHost( ip=String );
Returns: Boolean
Examples
ip="127.0.0.1";
writeDump(islocalhost(ip));//true
writeDump(islocalhost(GetLocalHostIP()));//true
See also
- Decision logic
- GetLocalHostIP()
- IsIPInRange()
- IsIPv6()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)