Libraryless. Click here for Pure Java version (4697L/26K).
static TripleBool mapMethodLike dm_getFlag(S flagName) { O mod = dm_current_generic(); O stem = dm_stem(mod); Int flagCode = cast getOpt(flagName, stem); ret flagCode == null ?: (Bool) call(stem, "hasFlag", flagCode); }
Began life as a copy of #1033388
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033389 |
Snippet name: | dm_getFlag |
Eternal ID of this version: | #1033389/5 |
Text MD5: | 106f367ae90d827e00f9ad67958f184e |
Transpilation MD5: | 19f6269f0dde4c93456a200e193965ec |
Author: | stefan |
Category: | javax / dynamic modules |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-27 01:22:37 |
Source code size: | 232 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 173 / 206 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |