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

9
LINES

< > BotCompany Repo | #1017062 // isTrueOpt

JavaX fragment (include)

1  
sbool isTrueOpt(O o) {
2  
  if (o instanceof Boolean)
3  
    ret ((Boolean) o).booleanValue();
4  
  false;
5  
}
6  
7  
sbool mapMethodLike isTrueOpt(S field, O o) {
8  
  ret isTrueOpt(getOpt(field, o));
9  
}

Author comment

Began life as a copy of #1002662

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017062
Snippet name: isTrueOpt
Eternal ID of this version: #1017062/4
Text MD5: 30728f800aa146909d5ea557a47d9cde
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-22 19:45:16
Source code size: 191 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 378 / 425
Version history: 3 change(s)
Referenced in: [show references]