MCPcopy Create free account
hub / github.com/TanStack/db / isDevModeEnabled

Function isDevModeEnabled

packages/db/src/indexes/index-registry.ts:66–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 * Check if dev mode is enabled
65 */
66export function isDevModeEnabled(): boolean {
67 return devModeConfig.enabled && process.env.NODE_ENV !== `production`
68}
69
70/**
71 * Emit an index suggestion (dev mode only)

Callers 4

ensureIndexForFieldFunction · 0.90
emitIndexSuggestionFunction · 0.85
trackQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected