1 | static O nullCall(O f) { |
2 | try { |
3 | ret callFunction(f); |
4 | } catch e { |
5 | silentException(e); |
6 | null; |
7 | } |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005081 |
Snippet name: | nullCall - safely call function, return null if fails [silently for now] |
Eternal ID of this version: | #1005081/1 |
Text MD5: | 599174b29db90da77ef9ff516436d1e7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-10-10 17:25:45 |
Source code size: | 118 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 558 / 572 |
Referenced in: | [show references] |