1 | static S prependGlobalIDInNewLine_opt(S s) { |
2 | if (empty(s) || startsWith(s, "[id: ")) ret s; |
3 | ret prependGlobalIDInNewLine(s); |
4 | } |
Began life as a copy of #1017596
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017653 |
Snippet name: | prependGlobalIDInNewLine_opt - prepend "[id: dfjsfdsf]\n\n" if not there yet |
Eternal ID of this version: | #1017653/3 |
Text MD5: | 8f3c9c6a342fa036966cf21d5ebad9a2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-31 18:09:55 |
Source code size: | 133 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 346 / 374 |
Version history: | 2 change(s) |
Referenced in: | [show references] |