IsIPv6()
checks if given IP is of IPV6 format
IsIPv6( hostname=string );
Returns: Boolean
Argument | Description |
---|---|
hostname
string,
optional
|
the hostname to check if no hostname is provided, it defaults to checking the local machine's network interfaces Alias: value |
Examples
ip="FE80:CD00:0000:0CDE:1257:0000:211E:729C";
writeOutput(isIPv6(ip));
See also
- Decision logic
- IsIPInRange()
- IsLocalHost()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)