MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / isDevEnvironment

Function isDevEnvironment

backend/src/utils/misc.ts:180–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180export function isDevEnvironment(): boolean {
181 return process.env["MODE"] === "dev";
182}
183
184export function getFrontendUrl(): string {
185 return isDevEnvironment()

Callers 15

getVersionFunction · 0.90
connectFunction · 0.90
initFunction · 0.90
initFunction · 0.90
constructorMethod · 0.90
getOauthLinkFunction · 0.90
verifyFunction · 0.90
checkIfUserIsAdminFunction · 0.90
errorHandlingMiddlewareFunction · 0.90
onlyAvailableOnDevFunction · 0.90
authenticateWithApeKeyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected