Libraryless. Click here for Pure Java version (9908L/54K).
static O pcallFunction(O f, O... args) { pcall { ret callFunction(f, args); } null; }
Began life as a copy of #1003313
download show line numbers debug dex old transpilations
Travelled to 23 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, jcllbfdqhrgy, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, uelavcdoioby, vouqrxazstgt, whxojlpjdney, wnsclhtenguj, yanjaxplzisb
No comments. add comment
| Snippet ID: | #1003403 |
| Snippet name: | pcallFunction - safely call a Runnable, function object or function name |
| Eternal ID of this version: | #1003403/1 |
| Text MD5: | 660bcb303f01de30d3aa92a2854aad85 |
| Transpilation MD5: | da1c2dca2204d9c01dbf5b20c2cfe007 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-10-30 21:39:52 |
| Source code size: | 92 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 974 / 4424 |
| Referenced in: | #1004779 - pcallOpt - callOpt with exception printing #1005301 - pcallF - synonym of pcallFunction #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1008559 - pcallFOpt #1031693 - pcallF_minimalExceptionHandling |