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: | 561 / 782 |
Referenced in: | [show references] |