We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa02f84 commit 8b4f2ffCopy full SHA for 8b4f2ff
src/lib/index.js
@@ -16,8 +16,11 @@ const getDuration = (now, created) => now - created
16
17
module.exports = {
18
env,
19
+
20
isProduction: (environment = env) => environment === PRODUCTION,
21
22
isUndefined: (thing) => [null, undefined].includes(thing),
23
24
/**
25
* Returns a monitoring report over the "executionContext" memory usage.
26
* @param {ExecutionContextMap} executionContextMap The execution map to monitor
0 commit comments