Skip to content

Home > sculp-js > isIpV6

isIpV6() function

判断字符串是否为 IPV6 格式,不对 ip 真实性做验证

Signature:

typescript
isIpV6: (value: string) => boolean

Parameters

Parameter

Type

Description

value

string

Returns:

boolean

{boolean}

Released under the MIT License.