MCPcopy Index your code
hub / github.com/CommandCodeAI/BaseAI / isProd

Function isProd

packages/core/src/utils/is-prod.ts:4–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2const TEST_PROD_LOCALLY = FORCE_PROD;
3
4export function isProd() {
5 if (TEST_PROD_LOCALLY) return true;
6 return process.env.NODE_ENV === 'production';
7}
8
9export function isLocal() {
10 return process.env.NODE_ENV !== 'production';

Callers 4

usePipeFunction · 0.90
isLocalServerRunningFunction · 0.90
loggerFunction · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected