mirror of
https://github.com/fofolee/uTools-ProcessKiller.git
synced 2025-09-28 07:05:04 +08:00
v0.0.2
This commit is contained in:
14
node_modules/is-win/lib/index.js
generated
vendored
Normal file
14
node_modules/is-win/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* isWin
|
||||
* Check if the machine is running Windows or not.
|
||||
*
|
||||
* @name isWin
|
||||
* @function
|
||||
* @return {Boolean} `true`, if the platform is Windows, `false` otherwise.
|
||||
*/
|
||||
|
||||
module.exports = function isWin() {
|
||||
return process.platform === "win32";
|
||||
};
|
Reference in New Issue
Block a user