Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1034412 // platformName

JavaX fragment (include)

sS platformName() {
  if (isWindows()) ret "Windows";
  if (isMac()) ret "Mac OS";
  ret "Linux";
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034412
Snippet name: platformName
Eternal ID of this version: #1034412/1
Text MD5: c6a6cec4a6a6376ade4f6bcd500b4bf5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-06 01:25:48
Source code size: 103 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 131 / 149
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)