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