MCPcopy Create free account
hub / github.com/Effect-TS/effect / isInetAddressV6

Function isInetAddressV6

packages/effect/src/net/NetAddress.ts:653–653  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

651 * @since 4.0.0
652 */
653export const isInetAddressV6 = (u: unknown): u is InetAddressV6 => isAddress(u) && u._tag === "InetAddressV6"
654
655/**
656 * Returns `true` when a value is a resolved internet address.

Callers 4

isInetAddressFunction · 0.85
[Equal.symbol]Function · 0.85
formatHostFunction · 0.85
formatNativeHostFunction · 0.85

Calls 1

isAddressFunction · 0.70

Tested by

no test coverage detected