Is Production?
Easy · Environment
In Node, environment variables live in process.env, an object whose values are always strings. Many apps check process.env.NODE_ENV to know whether they run in production.
Write a function isProduction(env) that returns true only when env.NODE_ENV is exactly "production", and false otherwise.