Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EdwardRaff/JSAT
/ isWindows
Method
isWindows
JSAT/src/jsat/utils/SystemInfo.java:29–32 ·
view source on GitHub ↗
@return true if this machine is running some version of Windows
()
Source
from the content-addressed store, hash-verified
27
* @
return
true
if
this machine is running some version of Windows
28
*/
29
public
static
boolean isWindows()
30
{
31
return
OS_String.contains(
"Win"
);
32
}
33
34
/**
35
*
Callers
1
SystemInfo
Class · 0.95
Calls
1
contains
Method · 0.45
Tested by
no test coverage detected