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

7
LINES

< > BotCompany Repo | #1002502 // yesno

JavaX fragment (include)

1  
static S yesno(bool b) {
2  
  ret yesno((Bool) b);
3  
}
4  
5  
static S yesno(Bool b) {
6  
  ret eq(b, true) ? "Yes. " : eq(b, false) ? "No. " : "Unknown. ";
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, vujiipfktnfq, whxojlpjdney

No comments. add comment

Snippet ID: #1002502
Snippet name: yesno
Eternal ID of this version: #1002502/3
Text MD5: 266cd2de65178e3e4be01cf4c597fc35
Author: stefan
Category: javax / english
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-06 20:33:47
Source code size: 150 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 665 / 764
Version history: 2 change(s)
Referenced in: [show references]