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

4
LINES

< > BotCompany Repo | #1017008 // generalDefinitions_addOrRemove

JavaX fragment (include)

static Pair<Bool, S> generalDefinitions_addOrRemove(S word, S def, bool add) {
  ret add ? generalDefinitions_add(word, def)
    : generalDefinitions_remove(word, def);
}

Author comment

Began life as a copy of #1017007

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: #1017008
Snippet name: generalDefinitions_addOrRemove
Eternal ID of this version: #1017008/1
Text MD5: 163e650ce15ebcf958f8ffc226d50c63
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-10 16:21:31
Source code size: 173 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 385 / 423
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)