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

3
LINES

< > BotCompany Repo | #1031342 // isTrueOrYes

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

Libraryless. Click here for Pure Java version (2957L/18K).

sbool isTrueOrYes(O o) {
  ret isTrueOpt(o) || o instanceof S && (eqicOneOf(o/S, "1", "t", "true") || isYes(o/S));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031342
Snippet name: isTrueOrYes
Eternal ID of this version: #1031342/5
Text MD5: 4300d4fe23c954176f82acfd8dd2ed0d
Transpilation MD5: 313a6be5acdb679d382dec6d7544729e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-22 10:07:30
Source code size: 118 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 117 / 198
Version history: 4 change(s)
Referenced in: [show references]