to check if 16bit or not
first value is true if valid 16bit ASN, false otherwise. Second value contains "valid" or an error message when value is invalid
Checks if the number given is within the value considered valid for an ASN number
the asn number to validate
first value is true if valid ASN, false otherwise. Second value contains "valid" or an error message when value is invalid
Checks if the given string is a binary string. That is contains only contiguous 1s and 0s
the binary string
a tuple representing if valid or not and corresponding message
Checks if the given string is a valid IPv4 range in Cidr notation
the IPv4 range in Cidr notation
first value is true if valid IPv4 range in Cidr notation, false otherwise. Second value contains "valid" or an error message when value is invalid
Checks if the given string is a valid IPv4 range in Cidr notation, with the ip number in the cidr notation being the start of the range
the IPv4 range in Cidr notation
Checks if given string is a valid IPv4 mask
the given IPv4 mask string
first value is true if valid IPv4 mask string, false otherwise. Second value contains "valid" or an error message when value is invalid
Checks if the number given is within the value considered valid for an IPv4 number
the asn number to validate
first value is true if valid IPv4 number, false otherwise. Second value contains "valid" or an error message when value is invalid
Checks if the number given is valid for an IPv4 octet
the octet value
true if valid octet, false otherwise
Checks if given string is a valid IPv4 value.
the IPv4 string to validate
result of validation, first value represents if is valid IPv4, second value contains error message if invalid IPv4
Checks if the given string is a valid IPv6 range in Cidr notation
the IPv6 range in Cidr notation
first value is true if valid IPv6 range in Cidr notation, false otherwise. Second value contains "valid" or an error message when value is invalid
Checks if the given string is a valid IPv6 range in Cidr notation, with the ip number in the cidr notation being the start of the range
the IPv6 range in Cidr notation
Checks if the number given is valid for an IPv6 hexadecatet
the hexadecatet value
first value is true if valid hexadecatet, false otherwise. Second value contains "valid" or an error message when value is invalid
Checks if given string is a valid IPv6 mask
the given IPv6 mask string
first value is true if valid IPv6 mask string, false otherwise. Second value contains "valid" or an error message when value is invalid
Checks if the number given is within the value considered valid for an IPv6 number
the asn number to validate
first value is true if valid IPv6 number, false otherwise. Second value contains "valid" or an error message when value is invalid
Checks if given string is a valid IPv6 value.
the IPv6 string to validate
result of validation, first value represents if is valid IPv6, second value contains error message if invalid IPv6
Checks if given value is a valid prefix value
value to check
The type of IP number
a tuple representing if valid or not and corresponding message
Checks if given ipNumber is in between the given lower and upper bound
ipNumber to check
lower bound
upper bound
true if ipNumber is between lower and upper bound
Generated using TypeDoc
Checks if the given ASN number is a 16bit ASN number