MCPcopy Index your code
hub / github.com/processing/processing / isLinux

Method isLinux

app/src/processing/app/Platform.java:272–275  ·  view source on GitHub ↗

true if running on linux.

()

Source from the content-addressed store, hash-verified

270 * true if running on linux.
271 */
272 static public boolean isLinux() {
273 //return PApplet.platform == PConstants.LINUX;
274 return System.getProperty("os.name").indexOf("Linux") != -1; //$NON-NLS-1$ //$NON-NLS-2$
275 }
276
277
278 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Callers 4

initMethod · 0.95
getContentFileMethod · 0.95
copyDirNativeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected