Libraryless. Click here for Pure Java version (9747L/54K).
sbool inclusiveIntRangeContains(IntRange r, int i) { ret r != null && i >= r.start && i <= r.end; }
Began life as a copy of #1024540
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1036285 |
| Snippet name: | inclusiveIntRangeContains |
| Eternal ID of this version: | #1036285/1 |
| Text MD5: | 654c0dfdd39e8d6b7d3227d59619b3b7 |
| Transpilation MD5: | 22ed3ba41d9105f1567cf4c23d2854b0 |
| Author: | stefan |
| Category: | javax / math |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-11-08 17:25:07 |
| Source code size: | 103 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 372 / 465 |
| Referenced in: | [show references] |