IsLocalHost
Determine whether a given string value represents a loopback IP address, like localhost
, 127.0.0.1
or ::1
.
Method Signature
Arguments
Argument
Type
Required
Description
Default
ip
string
true
String representing the IP address to test.
Examples
Related
Last updated