8 lines
169 B
TypeScript
8 lines
169 B
TypeScript
export function isDevelopment() {
|
|
return process.env.NODE_ENV === 'development';
|
|
}
|
|
|
|
export function isProduction() {
|
|
return process.env.NODE_ENV === 'production';
|
|
}
|