Checks if the current environment is a Node.js production environment. Logs an error if the function is called outside of a Node.js environment.
True if the current environment is production, otherwise false.
Checks if the current environment is a Node.js production environment. Logs an error if the function is called outside of a Node.js environment.