static L<Pair<WebNode>> web_relationsOfType(Web web, S type) { Lisp lbl = web.parseLabel(type); L<Pair<WebNode>> l = new L; for (Pair<WebNode> p : keys(web.relations)) if (web.getRelation(p).hasLabel(lbl)) l.add(p); ret l; }
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: | #1009971 |
| Snippet name: | web_relationsOfType |
| Eternal ID of this version: | #1009971/4 |
| Text MD5: | 752b493ec466bb028b36058ac9b14916 |
| 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 20:50:18 |
| Source code size: | 249 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 771 / 822 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |