Libraryless. Click here for Pure Java version (5119L/28K).
static IntRange cncCorrect(IntRange r) { ret r == null ?: IntRange(r.start & ~1, r.end | 1); }
Began life as a copy of #1034460
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034463 |
| Snippet name: | cncCorrect - proper CNC sublist |
| Eternal ID of this version: | #1034463/1 |
| Text MD5: | dd01f3ea769a48acfd178af75fed8932 |
| Transpilation MD5: | 93fed7d402dd663e77e5d589c1838d80 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-08 01:27:25 |
| Source code size: | 98 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 342 / 461 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |