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

7
LINES

< > BotCompany Repo | #1012009 // tok_hasTranslators - doesn't change tok

JavaX fragment (include)

1  
static bool tok_hasTranslators(L<S> tok) {
2  
  int n = l(tok)-2;
3  
  for (int i = 1; i < n; i += 2)
4  
    if (tok.get(i).equals("!") && isInteger(tok.get(i+2)))
5  
      true;
6  
  false;
7  
}

Author comment

Began life as a copy of #1010375

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: #1012009
Snippet name: tok_hasTranslators - doesn't change tok
Eternal ID of this version: #1012009/3
Text MD5: 805a9c23105c8f28c05e46df4942dc6b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-16 01:38:20
Source code size: 183 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 509 / 536
Version history: 2 change(s)
Referenced in: [show references]