static S textOut_or_orAll(L<S> l) { S s = textOut_or(l); if (l(l) > 2) ret s + " or all of these"; if (l(l) == 2) ret s + " or both"; ret s; }
Began life as a copy of #1017496
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017500 |
Snippet name: | textOut_or_orAll - join strings as "a, b or c or all of these" |
Eternal ID of this version: | #1017500/3 |
Text MD5: | eb27f80758b82c7ae41cd50313305a06 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-24 00:32:15 |
Source code size: | 155 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 296 / 330 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1017502 - textOut_or_orAll_curly - join strings as "a, b or c or all of these" with curly brackets |