isDev
isDev():
boolean
Defined in: utils/helper.ts:38
Detect whether the runtime should be considered development.
Checks in order:
import.meta.env?.DEV(Vite / ESM environments)process.env.NODE_ENV === 'development'(Node)process.env.DFX_NETWORK === 'local'(local IC replica)
Returns
Section titled “Returns”boolean