Warning: session_start(): open(/var/lib/php/sessions/sess_scijg8n5n2447hujpannmo2amq, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
strPreserveNull - like str, but keeping null as null (not as "null") [1003820]

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)

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

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: 880 / 921
Referenced in: [show references]