Skip to content

Commit 8b4f2ff

Browse files
committed
format.
1 parent fa02f84 commit 8b4f2ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ const getDuration = (now, created) => now - created
1616

1717
module.exports = {
1818
env,
19+
1920
isProduction: (environment = env) => environment === PRODUCTION,
21+
2022
isUndefined: (thing) => [null, undefined].includes(thing),
23+
2124
/**
2225
* Returns a monitoring report over the "executionContext" memory usage.
2326
* @param {ExecutionContextMap} executionContextMap The execution map to monitor

0 commit comments

Comments
 (0)