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

4
LINES

< > BotCompany Repo | #1007573 // isOK

JavaX fragment (include)

1  
static bool isOK(S s) {
2  
  s = trim(s);
3  
  ret swic(s, "ok ") || eqic(s, "ok") || matchStart("ok", s);
4  
}

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: #1007573
Snippet name: isOK
Eternal ID of this version: #1007573/3
Text MD5: 04008f8e613abfbb6fda0a525ec8f954
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-27 13:02:07
Source code size: 105 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 562 / 566
Version history: 2 change(s)
Referenced in: [show references]