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

7
LINES

< > BotCompany Repo | #1011392 // pcallF_anyFalse - returns true if any function returned false

JavaX fragment (include)

1  
static bool pcallF_anyFalse(L functions, O... args) {
2  
  bool flag = false;
3  
  for (O f : functions)
4  
    if (isFalse(pcallF(f, args)))
5  
      flag = true;
6  
  ret flag;
7  
}

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: #1011392
Snippet name: pcallF_anyFalse - returns true if any function returned false
Eternal ID of this version: #1011392/1
Text MD5: a0c223c21ef60077b08b1085736b5347
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-27 18:35:26
Source code size: 171 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 437 / 439
Referenced in: [show references]