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

3
LINES

< > BotCompany Repo | #1003820 // strPreserveNull - like str, but keeping null as null (not as "null")

JavaX fragment (include)

static S strPreserveNull(O s) {
  ret s == null ? null : str(s);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003820
Snippet name: strPreserveNull - like str, but keeping null as null (not as "null")
Eternal ID of this version: #1003820/1
Text MD5: e5c1677e86cf12d8ad3f8900beb72b3f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-28 01:45:27
Source code size: 68 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 511 / 546
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)