Libraryless. Click here for Pure Java version (3478L/19K).
1 | sS dollarVarsMeanFields(S text, O object) { |
2 | ret replaceDollarVars(text, var -> |
3 | !hasFieldNamed(object, var) ? null : str(getOpt(object, var))); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1031968 |
Snippet name: | dollarVarsMeanFields |
Eternal ID of this version: | #1031968/3 |
Text MD5: | 5d47ee952ef9b15f57e061dc947cff40 |
Transpilation MD5: | 9f224bf1cc73fe7d0099fcc1b18fb308 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-06 01:55:37 |
Source code size: | 153 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 151 / 228 |
Version history: | 2 change(s) |
Referenced in: | [show references] |