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

14
LINES

< > BotCompany Repo | #1010003 // web_hasLabelIC

JavaX fragment (include)

1  
static bool web_hasLabelIC(WebNode node, S text) {
2  
  if (node != null) for (Lisp l : node.labels())
3  
    if (eqic(text, node.web.unparseLabel(l)))
4  
      true;
5  
  false;
6  
}
7  
8  
static bool web_hasLabelIC(Pair<WebNode> p, S text) {
9  
  ret web_hasLabelIC(p.a.web.relation(p), text);
10  
}
11  
12  
static bool web_hasLabelIC(WebNode a, WebNode b, S text) {
13  
  ret web_hasLabelIC(a.web.relation(a, b), text);
14  
}

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: #1010003
Snippet name: web_hasLabelIC
Eternal ID of this version: #1010003/5
Text MD5: edf0a57f01d63dd0996409530738d761
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-02 03:17:14
Source code size: 401 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 503 / 552
Version history: 4 change(s)
Referenced in: [show references]