Created
December 23, 2015 10:09
-
-
Save yamafaktory/8d0425f68bac347e5122 to your computer and use it in GitHub Desktop.
Small utility module to find if a given argument is part of the running Node process.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;(function () { | |
| 'use strict' | |
| /* | |
| Small utility module to find if a given argument is part of the running Node process. | |
| */ | |
| module.exports = arg => process.argv.indexOf(arg) !== -1 | |
| }()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment