Skip to content

Commit 5ca20e3

Browse files
author
Fiero
committed
docs: improove inspector.js doc
1 parent f8c58ec commit 5ca20e3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/inspector.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const modes = require('./modes.enum')
1010
* given value, then compare the raw value of NODE_ENV is returned
1111
*
1212
* @example <caption>with NODE_ENV="dev"</caption>
13-
* inspector() // return "dev"
14-
* inspector("test") // return false;
15-
* inspector("development") // return true;
16-
* inspector("dev") // return true;
13+
* inspector() // "dev"
14+
* inspector("test") // false;
15+
* inspector("development") // true;
16+
* inspector("dev") // true;
1717
*
1818
* @param {string} [env] environment to be tested
1919
* @return {boolean | string}

0 commit comments

Comments
 (0)