MCPcopy Create free account
hub / github.com/bytebase/bytebase / isDev

Function isDev

frontend/src/utils/util.ts:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19dayjs.extend(utc);
20
21export function isDev(): boolean {
22 return import.meta.env.DEV;
23}
24
25export function isRelease(): boolean {
26 return import.meta.env.PROD;

Callers 7

main.tsFile · 0.90
BannersWrapperFunction · 0.90
ProfileMenuTriggerFunction · 0.90
InstanceFormBodyFunction · 0.90
AccountSection.tsxFile · 0.90
AuthGate.tsxFile · 0.90
index.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected