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

3
LINES

< > BotCompany Repo | #1025426 // not - boolean negation, return null on null

JavaX fragment (include)

static Bool not(Bool b) {
  ret b == null ? null : !b;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025426
Snippet name: not - boolean negation, return null on null
Eternal ID of this version: #1025426/1
Text MD5: 5a170bc6828a1956fc3ccd4bb2195834
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-28 23:17:09
Source code size: 58 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 248 / 292
Referenced in: [show references]