Skip to content

isInLocalOrDevelopment

isInLocalOrDevelopment(): boolean

Defined in: utils/helper.ts:18

Checks if the current environment is local or development.

Honors both legacy DFX_NETWORK (dfx) and ICP_NETWORK (icp-cli).

boolean

true if running in a local or development environment, otherwise false.