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

7
LINES

< > BotCompany Repo | #1015205 // or3 - unnull(or2(...))

JavaX fragment (include)

1  
static S or3(S a, S b) {
2  
  ret nempty(a) ? a : unnull(b);
3  
}
4  
5  
static S or3(S a, S b, S c) {
6  
  ret or3(or3(a, b), c);
7  
}

Author comment

Began life as a copy of #1003008

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: #1015205
Snippet name: or3 - unnull(or2(...))
Eternal ID of this version: #1015205/1
Text MD5: 2705c9e1f46271a0dbf7f82fae8c5d27
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 19:03:20
Source code size: 123 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 308 / 342
Referenced in: [show references]