GeneIT/geneit_app/src/utils/debug_utils.ts

4 lines
113 B
TypeScript

export function isDebug(): boolean {
return !process.env.NODE_ENV || process.env.NODE_ENV === "development";
}