Libraryless. Click here for Pure Java version (2125L/14K).
svoid dm_setOpt(O moduleOrID, S field, O value) { O mod = dm_getModule(moduleOrID); if (containsField(mod, field)) dm_set(mod, field, value); }
Began life as a copy of #1022368
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: | #1023948 |
Snippet name: | dm_setOpt - get field in module if it exists |
Eternal ID of this version: | #1023948/3 |
Text MD5: | b01d7798eadef2b2625619aa5449b774 |
Transpilation MD5: | 4fa6771ffbf88e41d091db766f1913b4 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-13 22:01:39 |
Source code size: | 155 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 226 / 306 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |