1 | // returns true if web contains nodes that are too long |
2 | static bool web_nodesTooLong(Web web) { |
3 | if (web == null) false; |
4 | int max = ai_maxNodeTextLength(); |
5 | for (WebNode n : web_nodesAndRelations(web)) |
6 | for (S s : web_texts(n)) |
7 | if (l(s) > max) |
8 | true; |
9 | false; |
10 | } |
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: | #1011933 |
Snippet name: | web_nodesTooLong |
Eternal ID of this version: | #1011933/1 |
Text MD5: | 1cd142bf12e1e451faec6371de868503 |
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-10 04:24:00 |
Source code size: | 289 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 438 / 465 |
Referenced in: | [show references] |