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

6
LINES

< > BotCompany Repo | #1010016 // web_forwardRelationTo

JavaX fragment (include)

static WebNode web_forwardRelationTo(WebNode node, S dest) {
  for (Pair<WebNode> p : keys(node.web.relations))
    if (p.a == node && web_hasLabelIC(p.b, dest))
      ret node.web.relations.get(p);
  null;
}

Author comment

Began life as a copy of #1009833

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: #1010016
Snippet name: web_forwardRelationTo
Eternal ID of this version: #1010016/2
Text MD5: 5b2a5e00b75a699a70620e8825015b25
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-28 21:26:00
Source code size: 213 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 445 / 481
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)