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

3
LINES

< > BotCompany Repo | #1034728 // squareBracketUnlessEmpty

JavaX fragment (include)

sS squareBracketUnlessEmpty(S s) {
  ret empty(s) ? "" : squareBracket(s);
}

Author comment

Began life as a copy of #1014767

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034728
Snippet name: squareBracketUnlessEmpty
Eternal ID of this version: #1034728/1
Text MD5: 1749361da451d5eb614a13a4c9e90523
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-07 19:54:17
Source code size: 78 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 123 / 150
Referenced in: [show references]