Libraryless. Click here for Pure Java version (99L/1K).
sO getOptDynOnly(DynamicObject o, S field) { if (o == null || o.fieldValues == null) null; ret o.fieldValues.get(field); }
Began life as a copy of #1005273
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031529 |
Snippet name: | getOptDynOnly - getOpt only from dynamic field |
Eternal ID of this version: | #1031529/1 |
Text MD5: | 93d7fab4b48ebfd3cd97df8c30a38d51 |
Transpilation MD5: | 5075e1a2f025a4a10e3da67ad6ac03fe |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-18 20:12:57 |
Source code size: | 129 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 224 / 299 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1031645 - getOptDynOnly_gen |