MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / warnDev

Function warnDev

packages/core/src/app/widgetRenderer/mouseRouting.ts:276–280  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

274const DEV_MODE = NODE_ENV !== "production";
275
276function warnDev(message: string): void {
277 if (!DEV_MODE) return;
278 const c = (globalThis as { console?: { warn?: (msg: string) => void } }).console;
279 c?.warn?.(message);
280}
281
282function describeThrown(v: unknown): string {
283 if (v instanceof Error) return v.message;

Callers 3

invokeCallbackSafelyFunction · 0.70
routeDropdownMouseFunction · 0.70
routeLayerBackdropMouseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected