Libraryless. Click here for Pure Java version (2986L/17K).
sS appendColonIfNempty(S s) { ret empty(s) ? "" : s + ": "; }
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032017 |
Snippet name: | appendColonIfNempty |
Eternal ID of this version: | #1032017/1 |
Text MD5: | b49c551ee4d6e6973be28e746a9fb2bc |
Transpilation MD5: | 0a4fa91665bb1ecc6c3f60a083bd580a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 02:21:59 |
Source code size: | 65 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 200 / 296 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032565 - addDotIfNempty |