svoid failOrWarn(bool fail, S msg) { if (fail) fail(msg); else warn(msg); }
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: | #1023248 |
| Snippet name: | failOrWarn - fail if first parameter is true |
| Eternal ID of this version: | #1023248/1 |
| Text MD5: | d557265cea3f0c95d1d65ccd6671fdd5 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-05-19 10:53:13 |
| Source code size: | 79 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 435 / 484 |
| Referenced in: | [show references] |