getProcessEnvNetwork
getProcessEnvNetwork():
string
Defined in: utils/helper.ts:33
Retrieves the network from the process environment variables.
Honors both legacy DFX_NETWORK (dfx) and ICP_NETWORK (icp-cli),
with ICP_NETWORK taking precedence when both are set.
Returns
Section titled “Returns”string
The network name, defaulting to “ic” if not specified.