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

3
LINES

< > BotCompany Repo | #1021469 // ai_goodOrBad

JavaX fragment (include)

sS ai_goodOrBad(bool good, bool bad) {
  ret good != bad ? good ? 'good : 'bad : null;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021469
Snippet name: ai_goodOrBad
Eternal ID of this version: #1021469/1
Text MD5: b75aae0c7e1034339fc48a09e0993b04
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-14 13:41:50
Source code size: 90 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 281 / 302
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1021473 - ai_goodBadToInt - -1, 0 or 1