static S slackSnippetOpt(O contents) { if (contents instanceof L) contents = join("\n", (L) contents); S s = str(contents); if (empty(s)) ret ""; ret slackSnippet(s); }
Began life as a copy of #1002446
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002799 |
| Snippet name: | slackSnippetOpt - format text as Slack snippet if not empty |
| Eternal ID of this version: | #1002799/1 |
| Text MD5: | 810c5f26e2094430f95f250cc80ceb63 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-02-25 02:36:09 |
| Source code size: | 181 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 889 / 1003 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |