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

7
LINES

< > BotCompany Repo | #1002502 // yesno

JavaX fragment (include)

static S yesno(bool b) {
  ret yesno((Bool) b);
}

static S yesno(Bool b) {
  ret eq(b, true) ? "Yes. " : eq(b, false) ? "No. " : "Unknown. ";
}

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: 583 / 683
Version history: 2 change(s)
Referenced in: [show references]