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

5
LINES

< > BotCompany Repo | #1011342 // unrollParams - expand Map-style params (1-element object array with a Map inside)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2772L/16K).

1  
static O[] unrollParams(O[] params) {
2  
  if (l(params) == 1 && params[0] instanceof Map)
3  
    ret mapToParams((Map) params[0]);
4  
  ret params;
5  
}

Author comment

Began life as a copy of #1011175

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011342
Snippet name: unrollParams - expand Map-style params (1-element object array with a Map inside)
Eternal ID of this version: #1011342/5
Text MD5: d6046bbd5d9d9b6ca67028b444b62176
Transpilation MD5: 7edfc4e0aba8915d3bbaef1d57f9b5f6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-02-22 13:24:07
Source code size: 145 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 367 / 448
Version history: 4 change(s)
Referenced in: [show references]