Libraryless. Click here for Pure Java version (9205L/51K).
static IF0 toIF0(fO f) { if (f == null) null; if (f cast IF0) ret f; if (f cast Runnable) ret -> { f.run(); null; }; ifndef NoMainFunctionStrings if (isString(f)) ret mainFunctionToIF0((S) f); endifndef ret (IF0) () -> callF(f); }
Began life as a copy of #1024897
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1025475 |
| Snippet name: | toIF0 |
| Eternal ID of this version: | #1025475/8 |
| Text MD5: | bb992ce554f6d2c1611644415b805172 |
| Transpilation MD5: | b6b832ce5a468a884d30d7a743a8f7a5 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-09-25 20:39:35 |
| Source code size: | 252 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 570 / 742 |
| Version history: | 7 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1031412 - f0ToIF0 |