static WebNode web_findForwardRelated_multiRel(WebNode node, S... relations) { if (node == null) null; if (empty(relations)) relations = litstringarray(""); Web web = node.web; L<Lisp> labels = web_parseLabels(web, relations); for (Pair<WebNode> p : web_relations(web)) if (p.a == node) { WebNode rel = web.getRelationOpt(p); if (web_hasOneOfTheLabels(rel, labels)) ret p.b; } null; }
Began life as a copy of #1010749
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: | #1010758 |
Snippet name: | web_findForwardRelated_multiRel |
Eternal ID of this version: | #1010758/5 |
Text MD5: | a9ee92560431f91ae56e97275c56c719 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-27 11:27:46 |
Source code size: | 436 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 500 / 524 |
Version history: | 4 change(s) |
Referenced in: | [show references] |