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

7
LINES

< > BotCompany Repo | #1003322 // checkCondition - call a predicate object

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4503L/25K).

sbool checkCondition(O condition, O... args) {
  return isTrue(callF(condition, args));
}

static <A> bool checkCondition(IF1<A, Bool> condition, A arg) {
  return isTrue(callF(condition, arg));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003322
Snippet name: checkCondition - call a predicate object
Eternal ID of this version: #1003322/4
Text MD5: 957c277d6935c906a164b9e524a159e2
Transpilation MD5: 04c96c6924774a6ae423b7e5ab9a9dda
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-07 18:39:53
Source code size: 202 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 722 / 3093
Version history: 3 change(s)
Referenced in: #1004238 - callPredicate - synonym of callPred
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1014427 - checkTokCondition
#1021863 - isTrue_callF - synonym of checkCondition - call a predicate object