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

3
LINES

< > BotCompany Repo | #1025595 // nemptyAndNeqAny - check that string is not empty and not in a list

JavaX fragment (include)

sbool nemptyAndNeqAny(S s, S... values) {
  ret nempty(s) && neqOneOf(s, values);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025595
Snippet name: nemptyAndNeqAny - check that string is not empty and not in a list
Eternal ID of this version: #1025595/3
Text MD5: fa7f610813aaed945f8a5139781adf78
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-07 12:28:53
Source code size: 85 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 147 / 175
Version history: 2 change(s)
Referenced in: #1025596 - emptyOrEqAny - check if string is empty or in a list