Ascent.net
Ascent.net.isIp
Checks if a string is a valid IP address (IPV4 or IPV6).
ascent.net.isIp(input: string): boolean;
Parameter
Type
Description
Input
String
IP address value (IPV4/IPV6)
Ascent.net.isIpprivate
Checks if an IP address belongs to a private range.
ascent.net.isIpprivate(input: string): boolean;
Parameter
Type
Description
Input
String
IP address value (IPV4/IPV6)
Ascent.net.isIpv4
Checks if string is a valid IPv4 address
ascent.net.isIpv4(input: string): boolean;
Parameter
Type
Description
Input
String
IPv4 address value
Ascent.net.isIpv6
Checks if string is a valid IPv6 address
ascent.net.isIpv6(input: string): boolean;
Parameter
Type
Description
Input
String
IPv6 address value
Last updated
Was this helpful?