getNetworkByHostname
getNetworkByHostname(
hostname):"local"|"remote"|"ic"
Defined in: utils/helper.ts:36
Determines the network type based on the provided hostname.
Parameters
Section titled “Parameters”hostname
Section titled “hostname”string
The hostname to evaluate.
Returns
Section titled “Returns”"local" | "remote" | "ic"
A string indicating the network type: “local”, “remote”, or “ic”.