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)

static LS quickValueInformation_list(O value) {
  new LS info;
  if (value instanceof Collection || value instanceof Map)
    info.add("l=" + l(value));
  else if (value cast S)
    addAll(info, "l=" + l(value), "lines=" + countLines(value));
  ret info;
}

download  show line numbers  debug dex   

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

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

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