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

9
LINES

< > BotCompany Repo | #1017062 // isTrueOpt

JavaX fragment (include)

sbool isTrueOpt(O o) {
  if (o instanceof Boolean)
    ret ((Boolean) o).booleanValue();
  false;
}

sbool mapMethodLike isTrueOpt(S field, O o) {
  ret isTrueOpt(getOpt(field, o));
}

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: 377 / 424
Version history: 3 change(s)
Referenced in: [show references]