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

3
LINES

< > BotCompany Repo | #1030391 // stringUnless

JavaX fragment (include)

sS stringUnless(bool b, S s) {
  ret b ? "" : s;
}

Author comment

Began life as a copy of #1022132

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030391
Snippet name: stringUnless
Eternal ID of this version: #1030391/1
Text MD5: 4b45de8f1d82fe2a6bb26f55356caea2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-11 00:51:17
Source code size: 52 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 111 / 145
Referenced in: [show references]