Skip to content

getNetworkByHostname

getNetworkByHostname(hostname): "local" | "remote" | "ic"

Defined in: utils/helper.ts:36

Determines the network type based on the provided hostname.

string

The hostname to evaluate.

"local" | "remote" | "ic"

A string indicating the network type: “local”, “remote”, or “ic”.