static S addPrefix_orNull(S prefix, S s) { ret empty(s) ? s : addPrefix(prefix, s); }
Began life as a copy of #1011947
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: | #1016479 |
Snippet name: | addPrefix_orNull - keep null as null and "" as "" |
Eternal ID of this version: | #1016479/1 |
Text MD5: | 3c7eca0e6aef0d76b50abf75584b0d11 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-19 20:12:58 |
Source code size: | 89 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 500 / 538 |
Referenced in: | [show references] |