MCPcopy
hub / github.com/FlowiseAI/Flowise / isIPv6

Function isIPv6

packages/server/src/utils/ipValidation.ts:41–43  ·  view source on GitHub ↗
(ip: string)

Source from the content-addressed store, hash-verified

39 * @returns `true` if the string is a valid IPv6 address, `false` otherwise
40 */
41export function isIPv6(ip: string): boolean {
42 return isIP(ip) === 6
43}

Callers 2

sanitizeIPAddressFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected