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

Function inetAddressFromInputUnsafe

packages/effect/src/net/NetAddress.ts:2023–2024  ·  view source on GitHub ↗
(input: InetAddressInput)

Source from the content-addressed store, hash-verified

2021 * @since 4.0.0
2022 */
2023export const inetAddressFromInputUnsafe = (input: InetAddressInput): InetAddress =>
2024 Result.getOrThrow(inetAddressFromInput(input))
2025
2026/**
2027 * Formats the numeric host of an internet address without brackets or a port,

Callers

nothing calls this directly

Calls 1

inetAddressFromInputFunction · 0.85

Tested by

no test coverage detected