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

5
LINES

< > BotCompany Repo | #1025859 // params_unpackList - unpack List if passed as O... as single argument

JavaX fragment (include)

static O[] params_unpackList(O[] params) {
  if (l(params) == 1 && params[0] instanceof L)
    ret toObjectArray((L) params[0]);
  ret params;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025859
Snippet name: params_unpackList - unpack List if passed as O... as single argument
Eternal ID of this version: #1025859/1
Text MD5: 05eb0986e28e9c5a5034bd12c4ca139a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-27 14:32:48
Source code size: 148 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 218 / 270
Referenced in: [show references]