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

7
LINES

< > BotCompany Repo | #1011133 // web_containsRelation

JavaX fragment (include)

static bool web_containsRelation(Web web, S rel) {
  if (web == null) false;
  for (WebRelation r : web_relationObjects(web))
    if (web_hasLabel(r, rel))
      true;
  false;
}

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: #1011133
Snippet name: web_containsRelation
Eternal ID of this version: #1011133/2
Text MD5: aea5c34830fd4c4a6167921151474134
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-15 20:30:23
Source code size: 184 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 484 / 505
Version history: 1 change(s)
Referenced in: [show references]