Transpiled version (48L) is out of date.
1 | sbool isNonZero(Double d) { |
2 | ret d != null && !isNaN(d) && d != 0; |
3 | } |
4 | |
5 | sbool isNonZero(Long l) { |
6 | ret l != null && l != 0; |
7 | } |
8 | |
9 | sbool isNonZero(Int i) { |
10 | ret i != null && i != 0; |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): gjtlkbvenryc, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036627 |
Snippet name: | isNonZero |
Eternal ID of this version: | #1036627/4 |
Text MD5: | 3dc8fd614037da0e69d60a725726acf9 |
Author: | stefan |
Category: | javax / gazelle 22 |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2024-05-22 20:57:18 |
Source code size: | 190 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 200 / 269 |
Version history: | 3 change(s) |
Referenced in: | [show references] |