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

Function isInetAddressV4

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

Source from the content-addressed store, hash-verified

642 * @since 4.0.0
643 */
644export const isInetAddressV4 = (u: unknown): u is InetAddressV4 => isAddress(u) && u._tag === "InetAddressV4"
645
646/**
647 * Returns `true` when a value is a resolved IPv6 internet address.

Callers 4

familyOfFunction · 0.85
isInetAddressFunction · 0.85
[Equal.symbol]Function · 0.85
formatInetFunction · 0.85

Calls 1

isAddressFunction · 0.70

Tested by

no test coverage detected