# IsIPv6()

checks if given IP is of IPV6 format

```
IsIPv6( hostname=string );
```

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| hostname | string | No | the hostname to check if no hostname is provided, it defaults to checking the local machine's network interfaces *Alias: value* |  |

# Examples

```cfml
	ip="FE80:CD00:0000:0CDE:1257:0000:211E:729C";
	writeOutput(isIPv6(ip));
```







# Categories

[Decision logic](../../categories/decision.md)

# See Also

[IsIPInRange()](isipinrange.md), [IsLocalHost()](islocalhost.md)