Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1023511 // lookupOrKeep_curly - call optCurly on values

JavaX fragment (include)

sS lookupOrKeep_curly(SS map, S key) {
  ret map != null && map.containsKey(key) ? optCurly(map.get(key)) : key;
}

Author comment

Began life as a copy of #1014559

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023511
Snippet name: lookupOrKeep_curly - call optCurly on values
Eternal ID of this version: #1023511/4
Text MD5: 59f1d74784aa386c3d6b906fc47fcf14
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-26 16:46:45
Source code size: 116 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 174 / 198
Version history: 3 change(s)
Referenced in: [show references]