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

6
LINES

< > BotCompany Repo | #1010016 // web_forwardRelationTo

JavaX fragment (include)

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

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: 444 / 481
Version history: 1 change(s)
Referenced in: [show references]