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

7
LINES

< > BotCompany Repo | #1027722 // zeroToNull - synonym of nullIfZero

JavaX fragment (include)

static Int zeroToNull(Int i) {
  ret nullIfZero(i);
}

static Float zeroToNull(Float f) {
  ret nullIfZero(f);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027722
Snippet name: zeroToNull - synonym of nullIfZero
Eternal ID of this version: #1027722/2
Text MD5: e57f214df1eab4d58a378f58a8490964
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-19 14:37:35
Source code size: 118 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 132 / 162
Version history: 1 change(s)
Referenced in: [show references]