Transpiled version (3050L) is out of date.
1 | sbool dm_isFirstSiblingModule_debug; |
2 | |
3 | sbool dm_isFirstSiblingModule(O mod) {
|
4 | S libID = dm_moduleLibID(mod); |
5 | if (libID == null) false; |
6 | LS siblings = dm_modulesWithLibID(libID); |
7 | if (dm_isFirstSiblingModule_debug) |
8 | printVars(+libID, +siblings); |
9 | if (empty(siblings)) true; // no idea why this happens sometimes |
10 | ret eq(dm_moduleID(mod), lowestByAlphaNum(siblings)); |
11 | } |
Began life as a copy of #1027529
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1029574 |
| Snippet name: | dm_isFirstSiblingModule - uses some arbitrary sorting (currently by module ID) |
| Eternal ID of this version: | #1029574/5 |
| Text MD5: | c71135aa4c9fd463e7082677db6677db |
| Author: | stefan |
| Category: | javax / stefan's os |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-09 06:40:53 |
| Source code size: | 387 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 464 / 618 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |