1 | sbool allNempty(S... l) { |
2 | fOr (S s : l) |
3 | if (empty(s)) false; |
4 | true; |
5 | } |
6 | |
7 | sbool allNempty(Iterable<S> l) { |
8 | fOr (S s : l) |
9 | if (empty(s)) false; |
10 | true; |
11 | } |
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: | #1007536 |
Snippet name: | allNempty - check if all strings are non-empty |
Eternal ID of this version: | #1007536/2 |
Text MD5: | f96b6d5c5eaef5a7598c2c9dec7326da |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-30 16:30:38 |
Source code size: | 171 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 546 / 611 |
Version history: | 1 change(s) |
Referenced in: | [show references] |