Libraryless. Click here for Pure Java version (2014L/13K).
1 | sbool mapLike isTrueOrEmitFailure(O f, O... args) { |
2 | if (isTrue(callF(f, args))) true; |
3 | ret false with emit(Failure(FunctionCall(f, args))); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023656 |
Snippet name: | isTrueOrEmitFailure - call boolean-returning function, emit a Failure() object if it fails |
Eternal ID of this version: | #1023656/1 |
Text MD5: | b19dd905ba5dcc98fec50cf1c31d815a |
Transpilation MD5: | eb458743f7c3cf76997fb068cace4854 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-01 01:54:50 |
Source code size: | 147 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 278 / 378 |
Referenced in: | [show references] |