mirror of
https://github.com/fofolee/uTools-ProcessKiller.git
synced 2025-06-16 11:56:58 +08:00
14 lines
268 B
JavaScript
14 lines
268 B
JavaScript
"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";
|
|
}; |