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

3
LINES

< > BotCompany Repo | #1020480 // cflipBool - flip boolean field in concept

JavaX fragment (include)

svoid cflipBool(Concept c, S field) {
  cset(c, field, !isTrue(get(c, field)));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1020480
Snippet name: cflipBool - flip boolean field in concept
Eternal ID of this version: #1020480/1
Text MD5: 32da848ef42f6e021630da19284e2f64
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-23 22:10:26
Source code size: 83 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 249 / 290
Referenced in: [show references]