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

3
LINES

< > BotCompany Repo | #1030051 // squareBracketIfNempty

JavaX fragment (include)

sS squareBracketIfNempty(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 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030051
Snippet name: squareBracketIfNempty
Eternal ID of this version: #1030051/1
Text MD5: 5790fa28150e693fad93521b45c5f7ee
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-03 09:26:57
Source code size: 75 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 192 / 220
Referenced in: [show references]