Add Env.is() method
Closed this issue · 1 comments
marcuspoehls commented
The environment utility has convenience methods like isProduction()
and isTesting()
. We can add an is()
method to be more flexible in determining the environment an application is running in.
Usage
Env.is('local')
// returns true when NODE_ENV === 'local'
Add the method to the end of the Env
utility.
Thank you for your help :)
marcuspoehls commented
Closed by #34