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).

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

Author comment

Began life as a copy of #1011175

download  show line numbers  debug dex   

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

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: 219 / 241
Version history: 4 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1011342 & http://1011342.tinybrain.de