Transpiled version (5155L) is out of date.
sS mapMethodLike renderVarsInMultipleLines(O... params) { new LS l; int i = 0; S header = null; if (odd(l(params))) { header = strOrNull(first(params)); addIfNempty(l, header); ++i; } for (; i+1 < l(params); i += 2) l.add(stringIf(nempty(header), " ") + params[i] + "=" + params[i+1]); ret lines_rtrim(l); }
Began life as a copy of #1024543
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035014 |
| Snippet name: | renderVarsInMultipleLines |
| Eternal ID of this version: | #1035014/4 |
| Text MD5: | c7cd30e92518fb3b9b3dbfb1a9a94cf4 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-22 23:35:09 |
| Source code size: | 350 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 359 / 447 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |