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

5
LINES

< > BotCompany Repo | #1002564 // isNo

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1712L/11K).

1  
static L<S> isNo_noes = litlist("n", "no", "nope", "nay", "nah", "nein", "njet", "nee", "nö", "niemals");
2  
3  
static boolean isNo(S s) {
4  
  ret isNo_noes.contains(collapseWord(toLowerCase(get(parse3(s), 1))));
5  
}

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: #1002564
Snippet name: isNo
Eternal ID of this version: #1002564/3
Text MD5: 39a070c9866948cb50d7b28c49330922
Transpilation MD5: bd7eef00e46ad065d0e9f1b4ccb5464a
Author: stefan
Category: eleu
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-24 16:37:46
Source code size: 212 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 737 / 778
Version history: 2 change(s)
Referenced in: [show references]