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

3
LINES

< > BotCompany Repo | #1026237 // onOff - boolean to "on" or "off

JavaX fragment (include)

sS onOff(bool b) {
  ret b ? "on" : "off";
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1026237
Snippet name: onOff - boolean to "on" or "off
Eternal ID of this version: #1026237/1
Text MD5: a73fa1ac879e87d16f6fd08e1c09bc00
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-07 15:47:17
Source code size: 46 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 237 / 267
Referenced in: [show references]