static S getOS() { if (isAndroid()) ret "Android"; if (isMac()) ret "Mac OS"; if (isWindows()) ret "Windows"; ret "Linux"; // Everything else is Linux... Yeah it's generous :) }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1001491 |
| Snippet name: | getOS |
| Eternal ID of this version: | #1001491/1 |
| Text MD5: | bb48252d359b07f6fa33902e9221c06b |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-10-19 18:32:58 |
| Source code size: | 190 bytes / 6 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 777 / 1005 |
| Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |