Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1025996 // pUnlessEmpty - <p> if contents is not empty, otherwise nothing

JavaX fragment (include)

1  
sS pUnlessEmpty(S s, O... _) {
2  
  ret empty(s) ? "" : p(s, _);
3  
}

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: 232 / 274
Version history: 1 change(s)
Referenced in: [show references]