sS pUnlessEmpty(S s, O... _) { ret empty(s) ? "" : p(s, _); }
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: | #1025996 |
| Snippet name: | pUnlessEmpty - <p> if contents is not empty, otherwise nothing |
| Eternal ID of this version: | #1025996/2 |
| Text MD5: | e5c9ff8c140c370d831098b903af257f |
| Author: | stefan |
| Category: | javax / html |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-11-20 13:35:43 |
| Source code size: | 65 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 458 / 510 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1030075 - divUnlessEmpty - <div> if contents is not empty, otherwise nothing |