isIPV6

checks if given IP is of IPV6 format

isIPV6(IP) → returns boolean

Argument Reference

IP string
Required

ip address to check

Examples
Sample code invoking the isIPV6 function

 Address = "127.0.0.1";
 writeOutput(isIPV6(Address)) ;

Expected Result: YES

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub