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

Function ipFromInputUnsafe

packages/effect/src/net/NetAddress.ts:1132–1132  ·  view source on GitHub ↗
(input: IpAddressInput)

Source from the content-addressed store, hash-verified

1130 * @since 4.0.0
1131 */
1132export const ipFromInputUnsafe = (input: IpAddressInput): IpAddress => Result.getOrThrow(ipFromInput(input))
1133
1134/**
1135 * Converts an `Ipv4AddressInput` to an IPv4 address, parsing strings like

Callers

nothing calls this directly

Calls 1

ipFromInputFunction · 0.85

Tested by

no test coverage detected