Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isAddress
Function
isAddress
packages/effect/src/net/NetAddress.ts:547–547 ·
view source on GitHub ↗
(u: unknown)
Source
from the content-addressed store, hash-verified
545
}> {}
546
547
const
isAddress = (u: unknown): u is IpAddress | MacAddress | SocketAddress => hasProperty(u, TypeId)
548
549
/**
550
* Returns `true` when a value is an IPv4 address.
Callers
6
isIpv4Address
Function · 0.70
isIpv6Address
Function · 0.70
isMacAddress
Function · 0.70
isInetAddressV4
Function · 0.70
isInetAddressV6
Function · 0.70
isUnixPathAddress
Function · 0.70
Calls
1
hasProperty
Function · 0.90
Tested by
no test coverage detected