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

8
LINES

< > BotCompany Repo | #1019150 // quickValueInformation_list - render info about a value returned by eval as a list of observations

JavaX fragment (include)

1  
static LS quickValueInformation_list(O value) {
2  
  new LS info;
3  
  if (value instanceof Collection || value instanceof Map)
4  
    info.add("l=" + l(value));
5  
  else if (value cast S)
6  
    addAll(info, "l=" + l(value), "lines=" + countLines(value));
7  
  ret info;
8  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019150
Snippet name: quickValueInformation_list - render info about a value returned by eval as a list of observations
Eternal ID of this version: #1019150/5
Text MD5: d78269eb4358f1ddb1b10adb1fdc739b
Author: stefan
Category: javax / ui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-16 18:15:27
Source code size: 263 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 333 / 351
Version history: 4 change(s)
Referenced in: [show references]