sbool intRangeContains(IntRange r, int i) { ret r != null && i >= r.start && i < r.end; }
Began life as a copy of #1023810
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024540 |
Snippet name: | intRangeContains |
Eternal ID of this version: | #1024540/1 |
Text MD5: | fd8476531d4e5ad5dc07c828ce231831 |
Author: | stefan |
Category: | javax / math |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-17 17:13:20 |
Source code size: | 93 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 257 / 308 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1030446 - anyIntRangeContains - true if any range contains the value #1036285 - inclusiveIntRangeContains |