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

3
LINES

< > BotCompany Repo | #1020662 // trimIf

JavaX fragment (include)

sS trimIf(bool b, S s) {
  ret b ? trim(s) : s;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020662
Snippet name: trimIf
Eternal ID of this version: #1020662/1
Text MD5: 1c9aa5399e5b1c26d678496fc3a6d368
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-30 15:21:52
Source code size: 51 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 229 / 272
Referenced in: [show references]